summaryrefslogtreecommitdiff
path: root/librewolf/debian/patches/fixes
diff options
context:
space:
mode:
Diffstat (limited to 'librewolf/debian/patches/fixes')
-rw-r--r--librewolf/debian/patches/fixes/Bug-1738845-Add-webrtc-configs-for-arm-and-ppc64-lin.patch18081
1 files changed, 8441 insertions, 9640 deletions
diff --git a/librewolf/debian/patches/fixes/Bug-1738845-Add-webrtc-configs-for-arm-and-ppc64-lin.patch b/librewolf/debian/patches/fixes/Bug-1738845-Add-webrtc-configs-for-arm-and-ppc64-lin.patch
index b700cce..7461b7b 100644
--- a/librewolf/debian/patches/fixes/Bug-1738845-Add-webrtc-configs-for-arm-and-ppc64-lin.patch
+++ b/librewolf/debian/patches/fixes/Bug-1738845-Add-webrtc-configs-for-arm-and-ppc64-lin.patch
@@ -14,385 +14,385 @@ Differential Revision: https://phabricator.services.mozilla.com/D134738
.../gn-configs/x64_True_arm_linux.mozconfig | 4 +
.../gn-configs/x64_True_ppc64_linux.json | 27508 +++++++++
.../gn-configs/x64_True_ppc64_linux.mozconfig | 4 +
- .../resource_adaptation_api_gn/moz.build | 41 +-
- .../libwebrtc/api/array_view_gn/moz.build | 41 +-
- .../api/audio/aec3_config_gn/moz.build | 41 +-
- .../api/audio/aec3_factory_gn/moz.build | 41 +-
- .../api/audio/audio_frame_api_gn/moz.build | 41 +-
- .../api/audio/audio_mixer_api_gn/moz.build | 41 +-
- .../api/audio/echo_control_gn/moz.build | 41 +-
- .../L16/audio_decoder_L16_gn/moz.build | 41 +-
- .../L16/audio_encoder_L16_gn/moz.build | 41 +-
- .../audio_codecs_api_gn/moz.build | 41 +-
- .../moz.build | 65 +-
- .../moz.build | 65 +-
- .../g711/audio_decoder_g711_gn/moz.build | 41 +-
- .../g711/audio_encoder_g711_gn/moz.build | 41 +-
- .../g722/audio_decoder_g722_gn/moz.build | 41 +-
- .../audio_encoder_g722_config_gn/moz.build | 41 +-
- .../g722/audio_encoder_g722_gn/moz.build | 41 +-
- .../ilbc/audio_decoder_ilbc_gn/moz.build | 41 +-
- .../audio_encoder_ilbc_config_gn/moz.build | 41 +-
- .../ilbc/audio_encoder_ilbc_gn/moz.build | 41 +-
+ .../resource_adaptation_api_gn/moz.build | 42 +-
+ .../libwebrtc/api/array_view_gn/moz.build | 42 +-
+ .../api/audio/aec3_config_gn/moz.build | 42 +-
+ .../api/audio/aec3_factory_gn/moz.build | 42 +-
+ .../api/audio/audio_frame_api_gn/moz.build | 42 +-
+ .../api/audio/audio_mixer_api_gn/moz.build | 42 +-
+ .../api/audio/echo_control_gn/moz.build | 42 +-
+ .../L16/audio_decoder_L16_gn/moz.build | 42 +-
+ .../L16/audio_encoder_L16_gn/moz.build | 42 +-
+ .../audio_codecs_api_gn/moz.build | 42 +-
+ .../moz.build | 53 +-
+ .../moz.build | 53 +-
+ .../g711/audio_decoder_g711_gn/moz.build | 42 +-
+ .../g711/audio_encoder_g711_gn/moz.build | 42 +-
+ .../g722/audio_decoder_g722_gn/moz.build | 42 +-
+ .../audio_encoder_g722_config_gn/moz.build | 42 +-
+ .../g722/audio_encoder_g722_gn/moz.build | 42 +-
+ .../ilbc/audio_decoder_ilbc_gn/moz.build | 42 +-
+ .../audio_encoder_ilbc_config_gn/moz.build | 42 +-
+ .../ilbc/audio_encoder_ilbc_gn/moz.build | 42 +-
.../isac/audio_decoder_isac_fix_gn/moz.build | 42 +-
- .../audio_decoder_isac_float_gn/moz.build | 20 +-
- .../isac/audio_decoder_isac_gn/moz.build | 65 +-
+ .../audio_decoder_isac_float_gn/moz.build | 22 +-
+ .../isac/audio_decoder_isac_gn/moz.build | 53 +-
.../isac/audio_encoder_isac_fix_gn/moz.build | 42 +-
- .../audio_encoder_isac_float_gn/moz.build | 20 +-
- .../isac/audio_encoder_isac_gn/moz.build | 65 +-
- .../opus/audio_decoder_multiopus_gn/moz.build | 41 +-
- .../audio_decoder_opus_config_gn/moz.build | 41 +-
- .../opus/audio_decoder_opus_gn/moz.build | 41 +-
- .../opus/audio_encoder_multiopus_gn/moz.build | 41 +-
- .../audio_encoder_opus_config_gn/moz.build | 41 +-
- .../opus/audio_encoder_opus_gn/moz.build | 41 +-
- .../api/audio_options_api_gn/moz.build | 41 +-
- .../api/bitrate_allocation_gn/moz.build | 41 +-
- .../libwebrtc/api/call_api_gn/moz.build | 41 +-
- .../api/callfactory_api_gn/moz.build | 41 +-
- .../frame_decryptor_interface_gn/moz.build | 41 +-
- .../frame_encryptor_interface_gn/moz.build | 41 +-
- .../libwebrtc/api/crypto/options_gn/moz.build | 41 +-
- .../api/fec_controller_api_gn/moz.build | 41 +-
- .../frame_transformer_interface_gn/moz.build | 41 +-
- .../libwebrtc/api/function_view_gn/moz.build | 41 +-
- .../api/libjingle_logging_api_gn/moz.build | 41 +-
- .../api/media_stream_interface_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../api/neteq/neteq_api_gn/moz.build | 41 +-
- .../neteq/neteq_controller_api_gn/moz.build | 41 +-
- .../api/neteq/tick_timer_gn/moz.build | 41 +-
- .../network_state_predictor_api_gn/moz.build | 41 +-
- .../api/numerics/numerics_gn/moz.build | 41 +-
- .../libwebrtc/api/priority_gn/moz.build | 41 +-
- .../libwebrtc/api/refcountedbase_gn/moz.build | 41 +-
- .../libwebrtc/api/rtc_error_gn/moz.build | 41 +-
- .../rtc_event_log/rtc_event_log_gn/moz.build | 41 +-
- .../libwebrtc/api/rtp_headers_gn/moz.build | 41 +-
- .../api/rtp_packet_info_gn/moz.build | 41 +-
- .../libwebrtc/api/rtp_parameters_gn/moz.build | 41 +-
- .../rtp_transceiver_direction_gn/moz.build | 41 +-
- .../libwebrtc/api/scoped_refptr_gn/moz.build | 41 +-
- .../api/simulated_network_api_gn/moz.build | 41 +-
- .../api/task_queue/task_queue_gn/moz.build | 41 +-
- .../transport/bitrate_settings_gn/moz.build | 41 +-
- .../field_trial_based_config_gn/moz.build | 41 +-
- .../api/transport/goog_cc_gn/moz.build | 41 +-
- .../transport/network_control_gn/moz.build | 41 +-
- .../rtp/dependency_descriptor_gn/moz.build | 41 +-
- .../api/transport/rtp/rtp_source_gn/moz.build | 41 +-
- .../webrtc_key_value_config_gn/moz.build | 41 +-
- .../libwebrtc/api/transport_api_gn/moz.build | 41 +-
- .../api/units/data_rate_gn/moz.build | 41 +-
- .../api/units/data_size_gn/moz.build | 41 +-
- .../api/units/frequency_gn/moz.build | 41 +-
- .../api/units/time_delta_gn/moz.build | 41 +-
- .../api/units/timestamp_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../api/video/encoded_frame_gn/moz.build | 41 +-
- .../api/video/encoded_image_gn/moz.build | 41 +-
- .../recordable_encoded_frame_gn/moz.build | 41 +-
- .../api/video/video_adaptation_gn/moz.build | 41 +-
- .../video_bitrate_allocation_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../video_bitrate_allocator_gn/moz.build | 41 +-
- .../video/video_codec_constants_gn/moz.build | 41 +-
- .../api/video/video_frame_gn/moz.build | 41 +-
- .../api/video/video_frame_i010_gn/moz.build | 41 +-
- .../api/video/video_frame_i420_gn/moz.build | 41 +-
- .../video/video_frame_metadata_gn/moz.build | 41 +-
- .../api/video/video_frame_nv12_gn/moz.build | 41 +-
- .../api/video/video_frame_type_gn/moz.build | 41 +-
- .../api/video/video_rtp_headers_gn/moz.build | 41 +-
- .../video_stream_encoder_create_gn/moz.build | 41 +-
- .../video/video_stream_encoder_gn/moz.build | 41 +-
- .../bitstream_parser_api_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../moz.build | 41 +-
- .../moz.build | 41 +-
- .../video_codecs_api_gn/moz.build | 41 +-
- .../vp8_temporal_layers_factory_gn/moz.build | 41 +-
- .../libwebrtc/audio/audio_gn/moz.build | 41 +-
- .../audio_frame_operations_gn/moz.build | 41 +-
- .../resource_adaptation_gn/moz.build | 41 +-
- .../call/audio_sender_interface_gn/moz.build | 41 +-
- .../call/bitrate_allocator_gn/moz.build | 41 +-
- .../call/bitrate_configurator_gn/moz.build | 41 +-
- third_party/libwebrtc/call/call_gn/moz.build | 41 +-
- .../call/call_interfaces_gn/moz.build | 41 +-
- .../libwebrtc/call/fake_network_gn/moz.build | 41 +-
- .../call/rtp_interfaces_gn/moz.build | 41 +-
- .../libwebrtc/call/rtp_receiver_gn/moz.build | 41 +-
- .../libwebrtc/call/rtp_sender_gn/moz.build | 41 +-
- .../call/simulated_network_gn/moz.build | 41 +-
- .../simulated_packet_receiver_gn/moz.build | 41 +-
- .../call/video_stream_api_gn/moz.build | 41 +-
- .../common_audio_c_arm_asm_gn/moz.build | 41 +-
- .../common_audio/common_audio_c_gn/moz.build | 64 +-
- .../common_audio/common_audio_cc_gn/moz.build | 41 +-
- .../common_audio/common_audio_gn/moz.build | 41 +-
- .../common_audio_neon_c_gn/moz.build | 23 +-
- .../common_audio_neon_gn/moz.build | 23 +-
- .../fir_filter_factory_gn/moz.build | 41 +-
- .../common_audio/fir_filter_gn/moz.build | 41 +-
- .../common_audio/sinc_resampler_gn/moz.build | 41 +-
- .../ooura/fft_size_128_gn/moz.build | 41 +-
- .../ooura/fft_size_256_gn/moz.build | 41 +-
- .../spl_sqrt_floor_gn/moz.build | 63 +-
- .../common_video/common_video_gn/moz.build | 41 +-
- .../common_video/frame_counts_gn/moz.build | 41 +-
- .../generic_frame_descriptor_gn/moz.build | 41 +-
- .../logging/rtc_event_audio_gn/moz.build | 41 +-
- .../logging/rtc_event_bwe_gn/moz.build | 41 +-
- .../logging/rtc_event_pacing_gn/moz.build | 41 +-
- .../logging/rtc_event_rtp_rtcp_gn/moz.build | 41 +-
- .../logging/rtc_event_video_gn/moz.build | 41 +-
- .../logging/rtc_stream_config_gn/moz.build | 41 +-
- .../media/rtc_constants_gn/moz.build | 41 +-
- .../rtc_encoder_simulcast_proxy_gn/moz.build | 41 +-
- .../media/rtc_h264_profile_id_gn/moz.build | 41 +-
- .../rtc_internal_video_codecs_gn/moz.build | 41 +-
- .../media/rtc_media_base_gn/moz.build | 41 +-
- .../media/rtc_media_config_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../media/rtc_vp9_profile_gn/moz.build | 41 +-
- .../audio_coding/audio_coding_gn/moz.build | 41 +-
- .../audio_coding_module_typedefs_gn/moz.build | 41 +-
- .../audio_coding_opus_common_gn/moz.build | 41 +-
- .../audio_encoder_cng_gn/moz.build | 41 +-
- .../audio_network_adaptor_config_gn/moz.build | 41 +-
- .../audio_network_adaptor_gn/moz.build | 41 +-
- .../default_neteq_factory_gn/moz.build | 41 +-
- .../modules/audio_coding/g711_c_gn/moz.build | 41 +-
- .../modules/audio_coding/g711_gn/moz.build | 41 +-
- .../modules/audio_coding/g722_c_gn/moz.build | 41 +-
- .../modules/audio_coding/g722_gn/moz.build | 41 +-
- .../modules/audio_coding/ilbc_c_gn/moz.build | 41 +-
- .../modules/audio_coding/ilbc_gn/moz.build | 41 +-
- .../audio_coding/isac_bwinfo_gn/moz.build | 41 +-
- .../modules/audio_coding/isac_c_gn/moz.build | 20 +-
- .../audio_coding/isac_common_gn/moz.build | 41 +-
+ .../audio_encoder_isac_float_gn/moz.build | 22 +-
+ .../isac/audio_encoder_isac_gn/moz.build | 53 +-
+ .../opus/audio_decoder_multiopus_gn/moz.build | 42 +-
+ .../audio_decoder_opus_config_gn/moz.build | 42 +-
+ .../opus/audio_decoder_opus_gn/moz.build | 42 +-
+ .../opus/audio_encoder_multiopus_gn/moz.build | 42 +-
+ .../audio_encoder_opus_config_gn/moz.build | 42 +-
+ .../opus/audio_encoder_opus_gn/moz.build | 42 +-
+ .../api/audio_options_api_gn/moz.build | 42 +-
+ .../api/bitrate_allocation_gn/moz.build | 42 +-
+ .../libwebrtc/api/call_api_gn/moz.build | 42 +-
+ .../api/callfactory_api_gn/moz.build | 42 +-
+ .../frame_decryptor_interface_gn/moz.build | 42 +-
+ .../frame_encryptor_interface_gn/moz.build | 42 +-
+ .../libwebrtc/api/crypto/options_gn/moz.build | 42 +-
+ .../api/fec_controller_api_gn/moz.build | 42 +-
+ .../frame_transformer_interface_gn/moz.build | 42 +-
+ .../libwebrtc/api/function_view_gn/moz.build | 42 +-
+ .../api/libjingle_logging_api_gn/moz.build | 42 +-
+ .../api/media_stream_interface_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../api/neteq/neteq_api_gn/moz.build | 42 +-
+ .../neteq/neteq_controller_api_gn/moz.build | 42 +-
+ .../api/neteq/tick_timer_gn/moz.build | 42 +-
+ .../network_state_predictor_api_gn/moz.build | 42 +-
+ .../api/numerics/numerics_gn/moz.build | 42 +-
+ .../libwebrtc/api/priority_gn/moz.build | 42 +-
+ .../libwebrtc/api/refcountedbase_gn/moz.build | 42 +-
+ .../libwebrtc/api/rtc_error_gn/moz.build | 42 +-
+ .../rtc_event_log/rtc_event_log_gn/moz.build | 42 +-
+ .../libwebrtc/api/rtp_headers_gn/moz.build | 42 +-
+ .../api/rtp_packet_info_gn/moz.build | 42 +-
+ .../libwebrtc/api/rtp_parameters_gn/moz.build | 42 +-
+ .../rtp_transceiver_direction_gn/moz.build | 42 +-
+ .../libwebrtc/api/scoped_refptr_gn/moz.build | 42 +-
+ .../api/simulated_network_api_gn/moz.build | 42 +-
+ .../api/task_queue/task_queue_gn/moz.build | 42 +-
+ .../transport/bitrate_settings_gn/moz.build | 42 +-
+ .../field_trial_based_config_gn/moz.build | 42 +-
+ .../api/transport/goog_cc_gn/moz.build | 42 +-
+ .../transport/network_control_gn/moz.build | 42 +-
+ .../rtp/dependency_descriptor_gn/moz.build | 42 +-
+ .../api/transport/rtp/rtp_source_gn/moz.build | 42 +-
+ .../webrtc_key_value_config_gn/moz.build | 42 +-
+ .../libwebrtc/api/transport_api_gn/moz.build | 42 +-
+ .../api/units/data_rate_gn/moz.build | 42 +-
+ .../api/units/data_size_gn/moz.build | 42 +-
+ .../api/units/frequency_gn/moz.build | 42 +-
+ .../api/units/time_delta_gn/moz.build | 42 +-
+ .../api/units/timestamp_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../api/video/encoded_frame_gn/moz.build | 42 +-
+ .../api/video/encoded_image_gn/moz.build | 42 +-
+ .../recordable_encoded_frame_gn/moz.build | 42 +-
+ .../api/video/video_adaptation_gn/moz.build | 42 +-
+ .../video_bitrate_allocation_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../video_bitrate_allocator_gn/moz.build | 42 +-
+ .../video/video_codec_constants_gn/moz.build | 42 +-
+ .../api/video/video_frame_gn/moz.build | 42 +-
+ .../api/video/video_frame_i010_gn/moz.build | 42 +-
+ .../api/video/video_frame_i420_gn/moz.build | 42 +-
+ .../video/video_frame_metadata_gn/moz.build | 42 +-
+ .../api/video/video_frame_nv12_gn/moz.build | 42 +-
+ .../api/video/video_frame_type_gn/moz.build | 42 +-
+ .../api/video/video_rtp_headers_gn/moz.build | 42 +-
+ .../video_stream_encoder_create_gn/moz.build | 42 +-
+ .../video/video_stream_encoder_gn/moz.build | 42 +-
+ .../bitstream_parser_api_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../video_codecs_api_gn/moz.build | 42 +-
+ .../vp8_temporal_layers_factory_gn/moz.build | 42 +-
+ .../libwebrtc/audio/audio_gn/moz.build | 42 +-
+ .../audio_frame_operations_gn/moz.build | 42 +-
+ .../resource_adaptation_gn/moz.build | 42 +-
+ .../call/audio_sender_interface_gn/moz.build | 42 +-
+ .../call/bitrate_allocator_gn/moz.build | 42 +-
+ .../call/bitrate_configurator_gn/moz.build | 42 +-
+ third_party/libwebrtc/call/call_gn/moz.build | 42 +-
+ .../call/call_interfaces_gn/moz.build | 42 +-
+ .../libwebrtc/call/fake_network_gn/moz.build | 42 +-
+ .../call/rtp_interfaces_gn/moz.build | 42 +-
+ .../libwebrtc/call/rtp_receiver_gn/moz.build | 42 +-
+ .../libwebrtc/call/rtp_sender_gn/moz.build | 42 +-
+ .../call/simulated_network_gn/moz.build | 42 +-
+ .../simulated_packet_receiver_gn/moz.build | 42 +-
+ .../call/video_stream_api_gn/moz.build | 42 +-
+ .../common_audio_c_arm_asm_gn/moz.build | 44 +-
+ .../common_audio/common_audio_c_gn/moz.build | 55 +-
+ .../common_audio/common_audio_cc_gn/moz.build | 42 +-
+ .../common_audio/common_audio_gn/moz.build | 42 +-
+ .../common_audio_neon_c_gn/moz.build | 21 +-
+ .../common_audio_neon_gn/moz.build | 21 +-
+ .../fir_filter_factory_gn/moz.build | 42 +-
+ .../common_audio/fir_filter_gn/moz.build | 42 +-
+ .../common_audio/sinc_resampler_gn/moz.build | 42 +-
+ .../ooura/fft_size_128_gn/moz.build | 44 +-
+ .../ooura/fft_size_256_gn/moz.build | 42 +-
+ .../spl_sqrt_floor_gn/moz.build | 56 +-
+ .../common_video/common_video_gn/moz.build | 42 +-
+ .../common_video/frame_counts_gn/moz.build | 42 +-
+ .../generic_frame_descriptor_gn/moz.build | 42 +-
+ .../logging/rtc_event_audio_gn/moz.build | 42 +-
+ .../logging/rtc_event_bwe_gn/moz.build | 42 +-
+ .../logging/rtc_event_pacing_gn/moz.build | 42 +-
+ .../logging/rtc_event_rtp_rtcp_gn/moz.build | 42 +-
+ .../logging/rtc_event_video_gn/moz.build | 42 +-
+ .../logging/rtc_stream_config_gn/moz.build | 42 +-
+ .../media/rtc_constants_gn/moz.build | 42 +-
+ .../rtc_encoder_simulcast_proxy_gn/moz.build | 42 +-
+ .../media/rtc_h264_profile_id_gn/moz.build | 42 +-
+ .../rtc_internal_video_codecs_gn/moz.build | 42 +-
+ .../media/rtc_media_base_gn/moz.build | 42 +-
+ .../media/rtc_media_config_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../media/rtc_vp9_profile_gn/moz.build | 42 +-
+ .../audio_coding/audio_coding_gn/moz.build | 42 +-
+ .../audio_coding_module_typedefs_gn/moz.build | 42 +-
+ .../audio_coding_opus_common_gn/moz.build | 42 +-
+ .../audio_encoder_cng_gn/moz.build | 42 +-
+ .../audio_network_adaptor_config_gn/moz.build | 42 +-
+ .../audio_network_adaptor_gn/moz.build | 42 +-
+ .../default_neteq_factory_gn/moz.build | 42 +-
+ .../modules/audio_coding/g711_c_gn/moz.build | 42 +-
+ .../modules/audio_coding/g711_gn/moz.build | 42 +-
+ .../modules/audio_coding/g722_c_gn/moz.build | 42 +-
+ .../modules/audio_coding/g722_gn/moz.build | 42 +-
+ .../modules/audio_coding/ilbc_c_gn/moz.build | 42 +-
+ .../modules/audio_coding/ilbc_gn/moz.build | 42 +-
+ .../audio_coding/isac_bwinfo_gn/moz.build | 42 +-
+ .../modules/audio_coding/isac_c_gn/moz.build | 22 +-
+ .../audio_coding/isac_common_gn/moz.build | 42 +-
.../isac_fix_c_arm_asm_gn/moz.build | 42 +-
.../audio_coding/isac_fix_c_gn/moz.build | 42 +-
.../audio_coding/isac_fix_common_gn/moz.build | 42 +-
.../audio_coding/isac_fix_gn/moz.build | 42 +-
- .../modules/audio_coding/isac_gn/moz.build | 20 +-
+ .../modules/audio_coding/isac_gn/moz.build | 22 +-
.../audio_coding/isac_neon_gn/moz.build | 42 +-
- .../audio_coding/isac_vad_gn/moz.build | 41 +-
- .../legacy_encoded_audio_frame_gn/moz.build | 41 +-
- .../modules/audio_coding/neteq_gn/moz.build | 41 +-
- .../audio_coding/pcm16b_c_gn/moz.build | 41 +-
- .../modules/audio_coding/pcm16b_gn/moz.build | 41 +-
- .../modules/audio_coding/red_gn/moz.build | 41 +-
- .../audio_coding/webrtc_cng_gn/moz.build | 41 +-
- .../webrtc_multiopus_gn/moz.build | 47 +-
- .../audio_coding/webrtc_opus_gn/moz.build | 47 +-
- .../webrtc_opus_wrapper_gn/moz.build | 47 +-
- .../audio_device_api_gn/moz.build | 41 +-
- .../audio_device_buffer_gn/moz.build | 41 +-
- .../audio_device_default_gn/moz.build | 41 +-
- .../audio_device_generic_gn/moz.build | 41 +-
- .../audio_device/audio_device_gn/moz.build | 41 +-
- .../audio_device_impl_gn/moz.build | 41 +-
- .../audio_frame_manipulator_gn/moz.build | 41 +-
- .../audio_mixer/audio_mixer_impl_gn/moz.build | 41 +-
- .../aec3/adaptive_fir_filter_erl_gn/moz.build | 41 +-
- .../aec3/adaptive_fir_filter_gn/moz.build | 41 +-
- .../aec3/aec3_common_gn/moz.build | 41 +-
- .../aec3/aec3_fft_gn/moz.build | 41 +-
- .../audio_processing/aec3/aec3_gn/moz.build | 41 +-
- .../aec3/fft_data_gn/moz.build | 41 +-
- .../aec3/matched_filter_gn/moz.build | 41 +-
- .../aec3/render_buffer_gn/moz.build | 41 +-
- .../aec3/vector_math_gn/moz.build | 41 +-
- .../aec_dump/aec_dump_gn/moz.build | 41 +-
- .../null_aec_dump_factory_gn/moz.build | 41 +-
- .../aec_dump_interface_gn/moz.build | 41 +-
- .../aecm/aecm_core_gn/moz.build | 41 +-
- .../audio_processing/agc/agc_gn/moz.build | 41 +-
- .../agc/gain_control_interface_gn/moz.build | 41 +-
- .../agc/gain_map_gn/moz.build | 41 +-
- .../agc/legacy_agc_gn/moz.build | 41 +-
- .../agc/level_estimation_gn/moz.build | 41 +-
- .../agc2/adaptive_digital_gn/moz.build | 41 +-
- .../agc2/biquad_filter_gn/moz.build | 41 +-
- .../audio_processing/agc2/common_gn/moz.build | 41 +-
- .../agc2/fixed_digital_gn/moz.build | 41 +-
- .../agc2/gain_applier_gn/moz.build | 41 +-
- .../agc2/level_estimation_agc_gn/moz.build | 41 +-
- .../agc2/noise_level_estimator_gn/moz.build | 41 +-
- .../agc2/rnn_vad/rnn_vad_gn/moz.build | 41 +-
- .../agc2/rnn_vad_with_level_gn/moz.build | 41 +-
- .../modules/audio_processing/api_gn/moz.build | 41 +-
- .../audio_processing/apm_logging_gn/moz.build | 41 +-
- .../audio_buffer_gn/moz.build | 41 +-
- .../audio_frame_proxies_gn/moz.build | 41 +-
- .../audio_frame_view_gn/moz.build | 41 +-
- .../audio_processing_gn/moz.build | 41 +-
- .../audio_processing_statistics_gn/moz.build | 41 +-
- .../audio_processing/config_gn/moz.build | 41 +-
- .../high_pass_filter_gn/moz.build | 41 +-
- .../audio_processing/ns/ns_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../audio_processing/rms_level_gn/moz.build | 41 +-
- .../transient_suppressor_api_gn/moz.build | 41 +-
- .../transient_suppressor_impl_gn/moz.build | 41 +-
- .../cascaded_biquad_filter_gn/moz.build | 41 +-
- .../legacy_delay_estimator_gn/moz.build | 41 +-
- .../utility/pffft_wrapper_gn/moz.build | 41 +-
- .../audio_processing/vad/vad_gn/moz.build | 41 +-
- .../voice_detection_gn/moz.build | 41 +-
- .../congestion_controller_gn/moz.build | 41 +-
- .../goog_cc/alr_detector_gn/moz.build | 41 +-
- .../goog_cc/delay_based_bwe_gn/moz.build | 41 +-
- .../goog_cc/estimators_gn/moz.build | 41 +-
- .../goog_cc/goog_cc_gn/moz.build | 41 +-
- .../link_capacity_estimator_gn/moz.build | 41 +-
- .../loss_based_controller_gn/moz.build | 41 +-
- .../goog_cc/probe_controller_gn/moz.build | 41 +-
- .../goog_cc/pushback_controller_gn/moz.build | 41 +-
- .../rtp/control_handler_gn/moz.build | 41 +-
- .../rtp/transport_feedback_gn/moz.build | 41 +-
- .../desktop_capture_generic_gn/moz.build | 111 +-
- .../desktop_capture_gn/moz.build | 30 +-
- .../desktop_capture/primitives_gn/moz.build | 34 +-
- .../libwebrtc/modules/module_api_gn/moz.build | 41 +-
- .../modules/module_api_public_gn/moz.build | 41 +-
- .../modules/module_fec_api_gn/moz.build | 41 +-
- .../pacing/interval_budget_gn/moz.build | 41 +-
- .../modules/pacing/pacing_gn/moz.build | 41 +-
- .../remote_bitrate_estimator_gn/moz.build | 41 +-
- .../rtp_rtcp/rtp_rtcp_format_gn/moz.build | 41 +-
- .../modules/rtp_rtcp/rtp_rtcp_gn/moz.build | 41 +-
- .../rtp_rtcp/rtp_video_header_gn/moz.build | 41 +-
- .../modules/third_party/fft/fft_gn/moz.build | 41 +-
- .../third_party/g711/g711_3p_gn/moz.build | 41 +-
- .../third_party/g722/g722_3p_gn/moz.build | 41 +-
- .../modules/utility/utility_gn/moz.build | 41 +-
- .../video_capture_internal_impl_gn/moz.build | 45 +-
- .../video_capture_module_gn/moz.build | 41 +-
- .../chain_diff_calculator_gn/moz.build | 41 +-
- .../codec_globals_headers_gn/moz.build | 41 +-
- .../av1/libaom_av1_decoder_gn/moz.build | 41 +-
- .../av1/libaom_av1_encoder_gn/moz.build | 41 +-
- .../deprecated/nack_module_gn/moz.build | 41 +-
- .../video_coding/encoded_frame_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../video_coding/nack_module_gn/moz.build | 41 +-
- .../video_codec_interface_gn/moz.build | 41 +-
- .../video_coding/video_coding_gn/moz.build | 41 +-
- .../video_coding_utility_gn/moz.build | 41 +-
- .../video_coding/webrtc_h264_gn/moz.build | 41 +-
- .../webrtc_multiplex_gn/moz.build | 41 +-
- .../video_coding/webrtc_vp8_gn/moz.build | 41 +-
- .../webrtc_vp8_temporal_layers_gn/moz.build | 41 +-
- .../video_coding/webrtc_vp9_gn/moz.build | 41 +-
- .../webrtc_vp9_helpers_gn/moz.build | 41 +-
- .../denoiser_filter_gn/moz.build | 41 +-
- .../video_processing_gn/moz.build | 41 +-
- .../video_processing_neon_gn/moz.build | 23 +-
+ .../audio_coding/isac_vad_gn/moz.build | 42 +-
+ .../legacy_encoded_audio_frame_gn/moz.build | 42 +-
+ .../modules/audio_coding/neteq_gn/moz.build | 42 +-
+ .../audio_coding/pcm16b_c_gn/moz.build | 42 +-
+ .../modules/audio_coding/pcm16b_gn/moz.build | 42 +-
+ .../modules/audio_coding/red_gn/moz.build | 42 +-
+ .../audio_coding/webrtc_cng_gn/moz.build | 42 +-
+ .../webrtc_multiopus_gn/moz.build | 45 +-
+ .../audio_coding/webrtc_opus_gn/moz.build | 45 +-
+ .../webrtc_opus_wrapper_gn/moz.build | 45 +-
+ .../audio_device_api_gn/moz.build | 42 +-
+ .../audio_device_buffer_gn/moz.build | 42 +-
+ .../audio_device_default_gn/moz.build | 42 +-
+ .../audio_device_generic_gn/moz.build | 42 +-
+ .../audio_device/audio_device_gn/moz.build | 42 +-
+ .../audio_device_impl_gn/moz.build | 42 +-
+ .../audio_frame_manipulator_gn/moz.build | 42 +-
+ .../audio_mixer/audio_mixer_impl_gn/moz.build | 42 +-
+ .../aec3/adaptive_fir_filter_erl_gn/moz.build | 42 +-
+ .../aec3/adaptive_fir_filter_gn/moz.build | 42 +-
+ .../aec3/aec3_common_gn/moz.build | 42 +-
+ .../aec3/aec3_fft_gn/moz.build | 42 +-
+ .../audio_processing/aec3/aec3_gn/moz.build | 42 +-
+ .../aec3/fft_data_gn/moz.build | 42 +-
+ .../aec3/matched_filter_gn/moz.build | 42 +-
+ .../aec3/render_buffer_gn/moz.build | 42 +-
+ .../aec3/vector_math_gn/moz.build | 42 +-
+ .../aec_dump/aec_dump_gn/moz.build | 42 +-
+ .../null_aec_dump_factory_gn/moz.build | 42 +-
+ .../aec_dump_interface_gn/moz.build | 42 +-
+ .../aecm/aecm_core_gn/moz.build | 44 +-
+ .../audio_processing/agc/agc_gn/moz.build | 42 +-
+ .../agc/gain_control_interface_gn/moz.build | 42 +-
+ .../agc/gain_map_gn/moz.build | 42 +-
+ .../agc/legacy_agc_gn/moz.build | 42 +-
+ .../agc/level_estimation_gn/moz.build | 42 +-
+ .../agc2/adaptive_digital_gn/moz.build | 42 +-
+ .../agc2/biquad_filter_gn/moz.build | 42 +-
+ .../audio_processing/agc2/common_gn/moz.build | 42 +-
+ .../agc2/fixed_digital_gn/moz.build | 42 +-
+ .../agc2/gain_applier_gn/moz.build | 42 +-
+ .../agc2/level_estimation_agc_gn/moz.build | 42 +-
+ .../agc2/noise_level_estimator_gn/moz.build | 42 +-
+ .../agc2/rnn_vad/rnn_vad_gn/moz.build | 42 +-
+ .../agc2/rnn_vad_with_level_gn/moz.build | 42 +-
+ .../modules/audio_processing/api_gn/moz.build | 42 +-
+ .../audio_processing/apm_logging_gn/moz.build | 42 +-
+ .../audio_buffer_gn/moz.build | 42 +-
+ .../audio_frame_proxies_gn/moz.build | 42 +-
+ .../audio_frame_view_gn/moz.build | 42 +-
+ .../audio_processing_gn/moz.build | 42 +-
+ .../audio_processing_statistics_gn/moz.build | 42 +-
+ .../audio_processing/config_gn/moz.build | 42 +-
+ .../high_pass_filter_gn/moz.build | 42 +-
+ .../audio_processing/ns/ns_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../audio_processing/rms_level_gn/moz.build | 42 +-
+ .../transient_suppressor_api_gn/moz.build | 42 +-
+ .../transient_suppressor_impl_gn/moz.build | 42 +-
+ .../cascaded_biquad_filter_gn/moz.build | 42 +-
+ .../legacy_delay_estimator_gn/moz.build | 42 +-
+ .../utility/pffft_wrapper_gn/moz.build | 42 +-
+ .../audio_processing/vad/vad_gn/moz.build | 42 +-
+ .../voice_detection_gn/moz.build | 42 +-
+ .../congestion_controller_gn/moz.build | 42 +-
+ .../goog_cc/alr_detector_gn/moz.build | 42 +-
+ .../goog_cc/delay_based_bwe_gn/moz.build | 42 +-
+ .../goog_cc/estimators_gn/moz.build | 42 +-
+ .../goog_cc/goog_cc_gn/moz.build | 42 +-
+ .../link_capacity_estimator_gn/moz.build | 42 +-
+ .../loss_based_controller_gn/moz.build | 42 +-
+ .../goog_cc/probe_controller_gn/moz.build | 42 +-
+ .../goog_cc/pushback_controller_gn/moz.build | 42 +-
+ .../rtp/control_handler_gn/moz.build | 42 +-
+ .../rtp/transport_feedback_gn/moz.build | 42 +-
+ .../desktop_capture_generic_gn/moz.build | 128 +-
+ .../desktop_capture_gn/moz.build | 57 +-
+ .../desktop_capture/primitives_gn/moz.build | 37 +-
+ .../libwebrtc/modules/module_api_gn/moz.build | 42 +-
+ .../modules/module_api_public_gn/moz.build | 42 +-
+ .../modules/module_fec_api_gn/moz.build | 42 +-
+ .../pacing/interval_budget_gn/moz.build | 42 +-
+ .../modules/pacing/pacing_gn/moz.build | 42 +-
+ .../remote_bitrate_estimator_gn/moz.build | 42 +-
+ .../rtp_rtcp/rtp_rtcp_format_gn/moz.build | 42 +-
+ .../modules/rtp_rtcp/rtp_rtcp_gn/moz.build | 42 +-
+ .../rtp_rtcp/rtp_video_header_gn/moz.build | 42 +-
+ .../modules/third_party/fft/fft_gn/moz.build | 42 +-
+ .../third_party/g711/g711_3p_gn/moz.build | 42 +-
+ .../third_party/g722/g722_3p_gn/moz.build | 42 +-
+ .../modules/utility/utility_gn/moz.build | 42 +-
+ .../video_capture_internal_impl_gn/moz.build | 46 +-
+ .../video_capture_module_gn/moz.build | 42 +-
+ .../chain_diff_calculator_gn/moz.build | 42 +-
+ .../codec_globals_headers_gn/moz.build | 42 +-
+ .../av1/libaom_av1_decoder_gn/moz.build | 42 +-
+ .../av1/libaom_av1_encoder_gn/moz.build | 42 +-
+ .../deprecated/nack_module_gn/moz.build | 42 +-
+ .../video_coding/encoded_frame_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../video_coding/nack_module_gn/moz.build | 42 +-
+ .../video_codec_interface_gn/moz.build | 42 +-
+ .../video_coding/video_coding_gn/moz.build | 42 +-
+ .../video_coding_utility_gn/moz.build | 42 +-
+ .../video_coding/webrtc_h264_gn/moz.build | 42 +-
+ .../webrtc_multiplex_gn/moz.build | 42 +-
+ .../video_coding/webrtc_vp8_gn/moz.build | 42 +-
+ .../webrtc_vp8_temporal_layers_gn/moz.build | 42 +-
+ .../video_coding/webrtc_vp9_gn/moz.build | 42 +-
+ .../webrtc_vp9_helpers_gn/moz.build | 42 +-
+ .../denoiser_filter_gn/moz.build | 42 +-
+ .../video_processing_gn/moz.build | 42 +-
+ .../video_processing_neon_gn/moz.build | 21 +-
third_party/libwebrtc/moz.build | 41 +-
- .../libwebrtc/rtc_base/atomicops_gn/moz.build | 41 +-
- .../audio_format_to_string_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/checks_gn/moz.build | 41 +-
- .../rtc_base/compile_assert_c_gn/moz.build | 41 +-
- .../rtc_base/criticalsection_gn/moz.build | 41 +-
- .../rtc_base/deprecation_gn/moz.build | 41 +-
- .../rtc_base/divide_round_gn/moz.build | 41 +-
- .../experiments/alr_experiment_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../cpu_speed_experiment_gn/moz.build | 41 +-
- .../field_trial_parser_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../moz.build | 41 +-
- .../min_video_bitrate_experiment_gn/moz.build | 41 +-
- .../quality_rampup_experiment_gn/moz.build | 41 +-
- .../quality_scaler_settings_gn/moz.build | 41 +-
- .../quality_scaling_experiment_gn/moz.build | 41 +-
- .../rate_control_settings_gn/moz.build | 41 +-
- .../rtt_mult_experiment_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../rtc_base/gtest_prod_gn/moz.build | 41 +-
- .../rtc_base/ignore_wundef_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/logging_gn/moz.build | 41 +-
- .../rtc_base/macromagic_gn/moz.build | 41 +-
- .../memory/aligned_malloc_gn/moz.build | 41 +-
- .../rtc_base/network/sent_packet_gn/moz.build | 41 +-
- .../rtc_base/platform_thread_gn/moz.build | 41 +-
- .../platform_thread_types_gn/moz.build | 41 +-
- .../rtc_base/protobuf_utils_gn/moz.build | 41 +-
- .../rtc_base/rate_limiter_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/refcount_gn/moz.build | 41 +-
- .../rtc_base/rtc_base_approved_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/rtc_base_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/rtc_event_gn/moz.build | 41 +-
- .../rtc_base/rtc_numerics_gn/moz.build | 41 +-
- .../rtc_base/rtc_task_queue_gn/moz.build | 41 +-
- .../rtc_base/safe_compare_gn/moz.build | 41 +-
- .../rtc_base/safe_conversions_gn/moz.build | 41 +-
- .../rtc_base/safe_minmax_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/sanitizer_gn/moz.build | 41 +-
- .../rtc_base/stringutils_gn/moz.build | 41 +-
- .../synchronization/mutex_gn/moz.build | 41 +-
- .../rw_lock_wrapper_gn/moz.build | 41 +-
- .../sequence_checker_gn/moz.build | 41 +-
- .../synchronization/yield_gn/moz.build | 41 +-
- .../synchronization/yield_policy_gn/moz.build | 41 +-
- .../rtc_base/system/arch_gn/moz.build | 41 +-
+ .../libwebrtc/rtc_base/atomicops_gn/moz.build | 42 +-
+ .../audio_format_to_string_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/checks_gn/moz.build | 42 +-
+ .../rtc_base/compile_assert_c_gn/moz.build | 42 +-
+ .../rtc_base/criticalsection_gn/moz.build | 42 +-
+ .../rtc_base/deprecation_gn/moz.build | 42 +-
+ .../rtc_base/divide_round_gn/moz.build | 42 +-
+ .../experiments/alr_experiment_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../cpu_speed_experiment_gn/moz.build | 42 +-
+ .../field_trial_parser_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../min_video_bitrate_experiment_gn/moz.build | 42 +-
+ .../quality_rampup_experiment_gn/moz.build | 42 +-
+ .../quality_scaler_settings_gn/moz.build | 42 +-
+ .../quality_scaling_experiment_gn/moz.build | 42 +-
+ .../rate_control_settings_gn/moz.build | 42 +-
+ .../rtt_mult_experiment_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../rtc_base/gtest_prod_gn/moz.build | 42 +-
+ .../rtc_base/ignore_wundef_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/logging_gn/moz.build | 42 +-
+ .../rtc_base/macromagic_gn/moz.build | 42 +-
+ .../memory/aligned_malloc_gn/moz.build | 42 +-
+ .../rtc_base/network/sent_packet_gn/moz.build | 42 +-
+ .../rtc_base/platform_thread_gn/moz.build | 42 +-
+ .../platform_thread_types_gn/moz.build | 42 +-
+ .../rtc_base/protobuf_utils_gn/moz.build | 42 +-
+ .../rtc_base/rate_limiter_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/refcount_gn/moz.build | 42 +-
+ .../rtc_base/rtc_base_approved_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/rtc_base_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/rtc_event_gn/moz.build | 42 +-
+ .../rtc_base/rtc_numerics_gn/moz.build | 42 +-
+ .../rtc_base/rtc_task_queue_gn/moz.build | 42 +-
+ .../rtc_base/safe_compare_gn/moz.build | 42 +-
+ .../rtc_base/safe_conversions_gn/moz.build | 42 +-
+ .../rtc_base/safe_minmax_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/sanitizer_gn/moz.build | 42 +-
+ .../rtc_base/stringutils_gn/moz.build | 42 +-
+ .../synchronization/mutex_gn/moz.build | 42 +-
+ .../rw_lock_wrapper_gn/moz.build | 42 +-
+ .../sequence_checker_gn/moz.build | 42 +-
+ .../synchronization/yield_gn/moz.build | 42 +-
+ .../synchronization/yield_policy_gn/moz.build | 42 +-
+ .../rtc_base/system/arch_gn/moz.build | 42 +-
.../rtc_base/system/asm_defines_gn/moz.build | 36 +-
- .../rtc_base/system/file_wrapper_gn/moz.build | 41 +-
- .../system/ignore_warnings_gn/moz.build | 41 +-
- .../rtc_base/system/inline_gn/moz.build | 41 +-
- .../rtc_base/system/rtc_export_gn/moz.build | 41 +-
- .../system/thread_registry_gn/moz.build | 41 +-
- .../rtc_base/system/unused_gn/moz.build | 41 +-
- .../moz.build | 41 +-
- .../pending_task_safety_flag_gn/moz.build | 41 +-
- .../task_utils/repeating_task_gn/moz.build | 41 +-
- .../task_utils/to_queued_task_gn/moz.build | 41 +-
- .../third_party/base64/base64_gn/moz.build | 41 +-
- .../third_party/sigslot/sigslot_gn/moz.build | 41 +-
- .../rtc_base/thread_checker_gn/moz.build | 41 +-
- .../time/timestamp_extrapolator_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/timeutils_gn/moz.build | 41 +-
- .../rtc_base/type_traits_gn/moz.build | 41 +-
- .../rtc_base/units/unit_base_gn/moz.build | 41 +-
- .../libwebrtc/rtc_base/weak_ptr_gn/moz.build | 41 +-
- .../system_wrappers/field_trial_gn/moz.build | 41 +-
- .../system_wrappers/metrics_gn/moz.build | 41 +-
- .../system_wrappers_gn/moz.build | 41 +-
- .../test/rtp_test_utils_gn/moz.build | 41 +-
- .../absl/algorithm/algorithm_gn/moz.build | 23 +-
- .../absl/algorithm/container_gn/moz.build | 23 +-
- .../absl/base/atomic_hook_gn/moz.build | 23 +-
- .../absl/base/base_internal_gn/moz.build | 23 +-
- .../abseil-cpp/absl/base/config_gn/moz.build | 23 +-
- .../absl/base/core_headers_gn/moz.build | 23 +-
- .../absl/base/log_severity_gn/moz.build | 21 +-
- .../base/raw_logging_internal_gn/moz.build | 21 +-
- .../container/compressed_tuple_gn/moz.build | 23 +-
- .../absl/container/flat_hash_map_gn/moz.build | 23 +-
- .../container/inlined_vector_gn/moz.build | 23 +-
- .../inlined_vector_internal_gn/moz.build | 23 +-
- .../absl/memory/memory_gn/moz.build | 23 +-
- .../absl/meta/type_traits_gn/moz.build | 23 +-
- .../absl/numeric/int128_gn/moz.build | 21 +-
- .../absl/strings/internal_gn/moz.build | 21 +-
- .../absl/strings/strings_gn/moz.build | 21 +-
- .../types/bad_optional_access_gn/moz.build | 21 +-
- .../types/bad_variant_access_gn/moz.build | 21 +-
- .../absl/types/optional_gn/moz.build | 23 +-
- .../abseil-cpp/absl/types/span_gn/moz.build | 23 +-
- .../absl/types/variant_gn/moz.build | 23 +-
- .../absl/utility/utility_gn/moz.build | 23 +-
+ .../rtc_base/system/file_wrapper_gn/moz.build | 42 +-
+ .../system/ignore_warnings_gn/moz.build | 42 +-
+ .../rtc_base/system/inline_gn/moz.build | 42 +-
+ .../rtc_base/system/rtc_export_gn/moz.build | 42 +-
+ .../system/thread_registry_gn/moz.build | 42 +-
+ .../rtc_base/system/unused_gn/moz.build | 42 +-
+ .../moz.build | 42 +-
+ .../pending_task_safety_flag_gn/moz.build | 42 +-
+ .../task_utils/repeating_task_gn/moz.build | 42 +-
+ .../task_utils/to_queued_task_gn/moz.build | 42 +-
+ .../third_party/base64/base64_gn/moz.build | 42 +-
+ .../third_party/sigslot/sigslot_gn/moz.build | 42 +-
+ .../rtc_base/thread_checker_gn/moz.build | 42 +-
+ .../time/timestamp_extrapolator_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/timeutils_gn/moz.build | 42 +-
+ .../rtc_base/type_traits_gn/moz.build | 42 +-
+ .../rtc_base/units/unit_base_gn/moz.build | 42 +-
+ .../libwebrtc/rtc_base/weak_ptr_gn/moz.build | 42 +-
+ .../system_wrappers/field_trial_gn/moz.build | 42 +-
+ .../system_wrappers/metrics_gn/moz.build | 42 +-
+ .../system_wrappers_gn/moz.build | 42 +-
+ .../test/rtp_test_utils_gn/moz.build | 42 +-
+ .../absl/algorithm/algorithm_gn/moz.build | 22 +-
+ .../absl/algorithm/container_gn/moz.build | 22 +-
+ .../absl/base/atomic_hook_gn/moz.build | 22 +-
+ .../absl/base/base_internal_gn/moz.build | 22 +-
+ .../abseil-cpp/absl/base/config_gn/moz.build | 22 +-
+ .../absl/base/core_headers_gn/moz.build | 22 +-
+ .../absl/base/log_severity_gn/moz.build | 22 +-
+ .../base/raw_logging_internal_gn/moz.build | 22 +-
+ .../container/compressed_tuple_gn/moz.build | 22 +-
+ .../absl/container/flat_hash_map_gn/moz.build | 22 +-
+ .../container/inlined_vector_gn/moz.build | 22 +-
+ .../inlined_vector_internal_gn/moz.build | 22 +-
+ .../absl/memory/memory_gn/moz.build | 22 +-
+ .../absl/meta/type_traits_gn/moz.build | 22 +-
+ .../absl/numeric/int128_gn/moz.build | 22 +-
+ .../absl/strings/internal_gn/moz.build | 22 +-
+ .../absl/strings/strings_gn/moz.build | 22 +-
+ .../types/bad_optional_access_gn/moz.build | 22 +-
+ .../types/bad_variant_access_gn/moz.build | 22 +-
+ .../absl/types/optional_gn/moz.build | 22 +-
+ .../abseil-cpp/absl/types/span_gn/moz.build | 22 +-
+ .../absl/types/variant_gn/moz.build | 22 +-
+ .../absl/utility/utility_gn/moz.build | 22 +-
.../third_party/pffft/pffft_gn/moz.build | 43 +-
- .../third_party/rnnoise/rnn_vad_gn/moz.build | 41 +-
- .../adaptation/video_adaptation_gn/moz.build | 41 +-
- .../video/frame_dumping_decoder_gn/moz.build | 41 +-
- .../libwebrtc/video/video_gn/moz.build | 41 +-
- .../video_stream_encoder_impl_gn/moz.build | 41 +-
- third_party/libwebrtc/webrtc_gn/moz.build | 54 +-
- 386 files changed, 159962 insertions(+), 3688 deletions(-)
+ .../third_party/rnnoise/rnn_vad_gn/moz.build | 42 +-
+ .../adaptation/video_adaptation_gn/moz.build | 42 +-
+ .../video/frame_dumping_decoder_gn/moz.build | 42 +-
+ .../libwebrtc/video/video_gn/moz.build | 42 +-
+ .../video_stream_encoder_impl_gn/moz.build | 42 +-
+ third_party/libwebrtc/webrtc_gn/moz.build | 63 +-
+ 386 files changed, 160633 insertions(+), 3327 deletions(-)
create mode 100644 dom/media/webrtc/third_party_build/gn-configs/x64_False_arm_linux.json
create mode 100644 dom/media/webrtc/third_party_build/gn-configs/x64_False_arm_linux.mozconfig
create mode 100644 dom/media/webrtc/third_party_build/gn-configs/x64_False_ppc64_linux.json
@@ -148941,10 +148941,10 @@ index 0000000..7459e29
+
+mk_add_options MOZ_OBJDIR=obj-x64_True_ppc64_linux
diff --git a/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build b/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-index 3dffbc4..1204053 100644
+index 4623a27..fe6bf28 100644
--- a/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
+++ b/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -148952,7 +148952,7 @@ index 3dffbc4..1204053 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -148960,11 +148960,13 @@ index 3dffbc4..1204053 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -148975,44 +148977,38 @@ index 3dffbc4..1204053 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149028,13 +149024,13 @@ index 3dffbc4..1204053 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("resource_adaptation_api_gn")
diff --git a/third_party/libwebrtc/api/array_view_gn/moz.build b/third_party/libwebrtc/api/array_view_gn/moz.build
-index aca9f59..53379fd 100644
+index 05a4469..4057e43 100644
--- a/third_party/libwebrtc/api/array_view_gn/moz.build
+++ b/third_party/libwebrtc/api/array_view_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149042,7 +149038,7 @@ index aca9f59..53379fd 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149050,11 +149046,13 @@ index aca9f59..53379fd 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149065,41 +149063,38 @@ index aca9f59..53379fd 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149115,13 +149110,13 @@ index aca9f59..53379fd 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("array_view_gn")
diff --git a/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build b/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-index 861233b..60e2182 100644
+index 7032d87..57d689f 100644
--- a/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
+++ b/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149129,7 +149124,7 @@ index 861233b..60e2182 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149137,11 +149132,13 @@ index 861233b..60e2182 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149152,44 +149149,38 @@ index 861233b..60e2182 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149205,13 +149196,13 @@ index 861233b..60e2182 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec3_config_gn")
diff --git a/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build b/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-index 2421e51..ca97769 100644
+index e2463d9..0fc4e75 100644
--- a/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149219,7 +149210,7 @@ index 2421e51..ca97769 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149227,11 +149218,13 @@ index 2421e51..ca97769 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149242,44 +149235,38 @@ index 2421e51..ca97769 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149295,13 +149282,13 @@ index 2421e51..ca97769 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec3_factory_gn")
diff --git a/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build b/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-index 48abf7c..74a6ead 100644
+index 2fdeec8..5d97b75 100644
--- a/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
+++ b/third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149309,7 +149296,7 @@ index 48abf7c..74a6ead 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149317,11 +149304,13 @@ index 48abf7c..74a6ead 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149332,44 +149321,38 @@ index 48abf7c..74a6ead 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149385,13 +149368,13 @@ index 48abf7c..74a6ead 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_frame_api_gn")
diff --git a/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build b/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
-index 41222e1..13117c3 100644
+index 005f5ee..54fef644 100644
--- a/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
+++ b/third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149399,7 +149382,7 @@ index 41222e1..13117c3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149407,11 +149390,13 @@ index 41222e1..13117c3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149422,41 +149407,38 @@ index 41222e1..13117c3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149472,13 +149454,13 @@ index 41222e1..13117c3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_mixer_api_gn")
diff --git a/third_party/libwebrtc/api/audio/echo_control_gn/moz.build b/third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-index 132b296..b236413 100644
+index c0ee63a..2a44828 100644
--- a/third_party/libwebrtc/api/audio/echo_control_gn/moz.build
+++ b/third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149486,7 +149468,7 @@ index 132b296..b236413 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149494,11 +149476,13 @@ index 132b296..b236413 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149509,41 +149493,38 @@ index 132b296..b236413 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149559,13 +149540,13 @@ index 132b296..b236413 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("echo_control_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-index 8499f55..b631a61 100644
+index 920761f..4bb4619 100644
--- a/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149573,7 +149554,7 @@ index 8499f55..b631a61 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149581,11 +149562,13 @@ index 8499f55..b631a61 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149596,44 +149579,38 @@ index 8499f55..b631a61 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149649,13 +149626,13 @@ index 8499f55..b631a61 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_L16_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
-index a5f3673..7c428fd 100644
+index fe3ff1d..155a9d3 100644
--- a/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149663,7 +149640,7 @@ index a5f3673..7c428fd 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149671,11 +149648,13 @@ index a5f3673..7c428fd 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149686,44 +149665,38 @@ index a5f3673..7c428fd 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149739,13 +149712,13 @@ index a5f3673..7c428fd 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_L16_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
-index f7bf176..aef9128 100644
+index 1a0b426..8b2f501 100644
--- a/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -149753,7 +149726,7 @@ index f7bf176..aef9128 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -143,11 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -142,10 +141,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -149761,11 +149734,13 @@ index f7bf176..aef9128 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -156,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -155,10 +153,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149776,44 +149751,38 @@ index f7bf176..aef9128 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -184,6 +174,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -186,6 +180,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -197,6 +194,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -205,9 +208,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -213,4 +221,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149829,14 +149798,14 @@ index f7bf176..aef9128 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_codecs_api_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
-index b52257b..aed39e8 100644
+index b668e7d..c41b2d1 100644
--- a/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
-@@ -81,17 +81,13 @@ if CONFIG["OS_TARGET"] == "Linux":
- DEFINES["USE_X11"] = "1"
+@@ -80,17 +80,13 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_UDEV"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
@@ -149853,12 +149822,13 @@ index b52257b..aed39e8 100644
"rt"
]
-@@ -160,9 +156,13 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -159,9 +155,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
+
@@ -149869,7 +149839,7 @@ index b52257b..aed39e8 100644
]
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -173,10 +173,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -172,10 +173,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149880,7 +149850,20 @@ index b52257b..aed39e8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -206,6 +202,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -203,12 +200,26 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
++ OS_LIBS += [
++ "m"
++ ]
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
@@ -149894,48 +149877,23 @@ index b52257b..aed39e8 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CXXFLAGS += [
-@@ -227,6 +230,18 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -231,6 +242,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
-@@ -235,9 +250,39 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
+
-+ OS_LIBS += [
-+ "m"
-+ ]
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -243,4 +260,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -149951,14 +149909,14 @@ index b52257b..aed39e8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("builtin_audio_decoder_factory_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
-index d84e165..66a7352 100644
+index 7e4c2f0..3206c4b 100644
--- a/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
-@@ -81,17 +81,13 @@ if CONFIG["OS_TARGET"] == "Linux":
- DEFINES["USE_X11"] = "1"
+@@ -80,17 +80,13 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_UDEV"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
@@ -149975,12 +149933,13 @@ index d84e165..66a7352 100644
"rt"
]
-@@ -160,9 +156,13 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -159,9 +155,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
+
@@ -149991,7 +149950,7 @@ index d84e165..66a7352 100644
]
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -173,10 +173,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -172,10 +173,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150002,7 +149961,20 @@ index d84e165..66a7352 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -206,6 +202,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -203,12 +200,26 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
++ OS_LIBS += [
++ "m"
++ ]
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
@@ -150016,48 +149988,23 @@ index d84e165..66a7352 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CXXFLAGS += [
-@@ -227,6 +230,18 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -231,6 +242,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
-@@ -235,9 +250,39 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
+
-+ OS_LIBS += [
-+ "m"
-+ ]
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -243,4 +260,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150073,13 +150020,13 @@ index d84e165..66a7352 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("builtin_audio_encoder_factory_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
-index e39db35..cfdabfa 100644
+index ecff360..f825da3 100644
--- a/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150087,7 +150034,7 @@ index e39db35..cfdabfa 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150095,11 +150042,13 @@ index e39db35..cfdabfa 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150110,44 +150059,38 @@ index e39db35..cfdabfa 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150163,13 +150106,13 @@ index e39db35..cfdabfa 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_g711_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
-index 6a431c8..45b6b6e 100644
+index 9074b56..a4bda9e 100644
--- a/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150177,7 +150120,7 @@ index 6a431c8..45b6b6e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150185,11 +150128,13 @@ index 6a431c8..45b6b6e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150200,44 +150145,38 @@ index 6a431c8..45b6b6e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150253,13 +150192,13 @@ index 6a431c8..45b6b6e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_g711_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
-index 57f9cbd..52a7c07 100644
+index 67e9a33..da88335 100644
--- a/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150267,7 +150206,7 @@ index 57f9cbd..52a7c07 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150275,11 +150214,13 @@ index 57f9cbd..52a7c07 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150290,44 +150231,38 @@ index 57f9cbd..52a7c07 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150343,13 +150278,13 @@ index 57f9cbd..52a7c07 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_g722_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
-index 6b2c822..263872d 100644
+index 6eb5a9d..09bb36d 100644
--- a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150357,7 +150292,7 @@ index 6b2c822..263872d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150365,11 +150300,13 @@ index 6b2c822..263872d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150380,41 +150317,38 @@ index 6b2c822..263872d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150430,13 +150364,13 @@ index 6b2c822..263872d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_g722_config_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
-index bc3dac1..4995cbd 100644
+index 0cc24be..c1fe587 100644
--- a/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150444,7 +150378,7 @@ index bc3dac1..4995cbd 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150452,11 +150386,13 @@ index bc3dac1..4995cbd 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150467,44 +150403,38 @@ index bc3dac1..4995cbd 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150520,13 +150450,13 @@ index bc3dac1..4995cbd 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_g722_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
-index ca0df16..0bba87f 100644
+index e6710b7..2179c9f 100644
--- a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150534,7 +150464,7 @@ index ca0df16..0bba87f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150542,11 +150472,13 @@ index ca0df16..0bba87f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150557,44 +150489,38 @@ index ca0df16..0bba87f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150610,13 +150536,13 @@ index ca0df16..0bba87f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_ilbc_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
-index 4b3a592..837aea3 100644
+index 44fc978..6a886e8 100644
--- a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150624,7 +150550,7 @@ index 4b3a592..837aea3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150632,11 +150558,13 @@ index 4b3a592..837aea3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150647,41 +150575,38 @@ index 4b3a592..837aea3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150697,13 +150622,13 @@ index 4b3a592..837aea3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_ilbc_config_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
-index 0fd8a2c..b4bb91a 100644
+index 73ca72d..3c5c143 100644
--- a/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150711,7 +150636,7 @@ index 0fd8a2c..b4bb91a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -150719,11 +150644,13 @@ index 0fd8a2c..b4bb91a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150734,44 +150661,38 @@ index 0fd8a2c..b4bb91a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150787,7 +150708,7 @@ index 0fd8a2c..b4bb91a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_ilbc_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix_gn/moz.build
index 2fe1230..1a7a294 100644
@@ -150856,10 +150777,10 @@ index 2fe1230..1a7a294 100644
+
Library("audio_decoder_isac_fix_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build
-index ea25619..eb28630 100644
+index 7b1781b..7d25fc4 100644
--- a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_float_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -150867,36 +150788,38 @@ index ea25619..eb28630 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -146,10 +145,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -137,15 +136,15 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["_FORTIFY_SOURCE"] = "2"
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
--
- DEFINES["_FORTIFY_SOURCE"] = "2"
--
- if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -187,6 +182,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,9 +191,23 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
+@@ -176,6 +175,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
+
+@@ -203,4 +203,16 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150908,14 +150831,14 @@ index ea25619..eb28630 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_isac_float_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build
-index 63a9de4..122fef0 100644
+index d605e26..27fc9c1 100644
--- a/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_gn/moz.build
-@@ -75,17 +75,13 @@ if CONFIG["OS_TARGET"] == "Linux":
- DEFINES["USE_X11"] = "1"
+@@ -74,17 +74,13 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_UDEV"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
@@ -150932,12 +150855,13 @@ index 63a9de4..122fef0 100644
"rt"
]
-@@ -150,9 +146,13 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,9 +145,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
+
@@ -150948,7 +150872,7 @@ index 63a9de4..122fef0 100644
]
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -163,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -150959,7 +150883,20 @@ index 63a9de4..122fef0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -196,6 +192,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -193,12 +190,26 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
++ OS_LIBS += [
++ "m"
++ ]
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
@@ -150973,45 +150910,23 @@ index 63a9de4..122fef0 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-@@ -213,13 +216,55 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -217,6 +228,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -225,4 +242,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151027,7 +150942,7 @@ index 63a9de4..122fef0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_isac_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix_gn/moz.build
index 140510d..d396909 100644
@@ -151096,10 +151011,10 @@ index 140510d..d396909 100644
+
Library("audio_encoder_isac_fix_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build
-index 80d57e9..0822dd3 100644
+index 78d3d4c..93a5bbc 100644
--- a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_float_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151107,36 +151022,38 @@ index 80d57e9..0822dd3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -146,10 +145,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -137,15 +136,15 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["_FORTIFY_SOURCE"] = "2"
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
--
- DEFINES["_FORTIFY_SOURCE"] = "2"
--
- if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -187,6 +182,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,9 +191,23 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
+@@ -176,6 +175,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
+
+@@ -203,4 +203,16 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151148,14 +151065,14 @@ index 80d57e9..0822dd3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_isac_float_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build
-index ad85094..1339168 100644
+index a6fa33f..9759770 100644
--- a/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_gn/moz.build
-@@ -75,17 +75,13 @@ if CONFIG["OS_TARGET"] == "Linux":
- DEFINES["USE_X11"] = "1"
+@@ -74,17 +74,13 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_UDEV"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
@@ -151172,12 +151089,13 @@ index ad85094..1339168 100644
"rt"
]
-@@ -150,9 +146,13 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,9 +145,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
+
@@ -151188,7 +151106,7 @@ index ad85094..1339168 100644
]
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -163,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151199,7 +151117,20 @@ index ad85094..1339168 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -196,6 +192,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -193,12 +190,26 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
++ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
++ OS_LIBS += [
++ "m"
++ ]
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
@@ -151213,45 +151144,23 @@ index ad85094..1339168 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-@@ -213,13 +216,55 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -217,6 +228,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -225,4 +242,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
-+ DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151267,13 +151176,13 @@ index ad85094..1339168 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_isac_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
-index 1aac131..c351a3b 100644
+index 67294ad..7d52854 100644
--- a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151281,7 +151190,7 @@ index 1aac131..c351a3b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151289,11 +151198,13 @@ index 1aac131..c351a3b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151304,44 +151215,38 @@ index 1aac131..c351a3b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151357,13 +151262,13 @@ index 1aac131..c351a3b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_multiopus_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
-index 3c14d0a..ddc9bf1 100644
+index 59ae4dd..f31c440 100644
--- a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151371,7 +151276,7 @@ index 3c14d0a..ddc9bf1 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151379,11 +151284,13 @@ index 3c14d0a..ddc9bf1 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151394,41 +151301,38 @@ index 3c14d0a..ddc9bf1 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151444,13 +151348,13 @@ index 3c14d0a..ddc9bf1 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_opus_config_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
-index 18314df..d1e2ee9 100644
+index 05f7073..96e0506 100644
--- a/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151458,7 +151362,7 @@ index 18314df..d1e2ee9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151466,11 +151370,13 @@ index 18314df..d1e2ee9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151481,44 +151387,38 @@ index 18314df..d1e2ee9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151534,13 +151434,13 @@ index 18314df..d1e2ee9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_decoder_opus_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
-index 58f0062..b9556dc 100644
+index 1cbbd76..86a4049 100644
--- a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151548,7 +151448,7 @@ index 58f0062..b9556dc 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151556,11 +151456,13 @@ index 58f0062..b9556dc 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151571,44 +151473,38 @@ index 58f0062..b9556dc 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151624,13 +151520,13 @@ index 58f0062..b9556dc 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_multiopus_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
-index a8f5c61..8426e0f5 100644
+index f2dd3b9..809a469 100644
--- a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
-@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151638,7 +151534,7 @@ index a8f5c61..8426e0f5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -145,11 +144,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -144,10 +143,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151646,11 +151542,13 @@ index a8f5c61..8426e0f5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -158,10 +152,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -157,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151661,44 +151559,38 @@ index a8f5c61..8426e0f5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -186,6 +176,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -188,6 +182,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -199,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -203,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -207,9 +210,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -215,4 +223,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151714,13 +151606,13 @@ index a8f5c61..8426e0f5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_opus_config_gn")
diff --git a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
-index 2afcfb0..dcd0f27 100644
+index b126ad7..54acb53 100644
--- a/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151728,7 +151620,7 @@ index 2afcfb0..dcd0f27 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151736,11 +151628,13 @@ index 2afcfb0..dcd0f27 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151751,44 +151645,38 @@ index 2afcfb0..dcd0f27 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151804,13 +151692,13 @@ index 2afcfb0..dcd0f27 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_opus_gn")
diff --git a/third_party/libwebrtc/api/audio_options_api_gn/moz.build b/third_party/libwebrtc/api/audio_options_api_gn/moz.build
-index a9ca2f3..739544c 100644
+index c5d3b22..e36177b8 100644
--- a/third_party/libwebrtc/api/audio_options_api_gn/moz.build
+++ b/third_party/libwebrtc/api/audio_options_api_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151818,7 +151706,7 @@ index a9ca2f3..739544c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151826,11 +151714,13 @@ index a9ca2f3..739544c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151841,44 +151731,38 @@ index a9ca2f3..739544c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151894,13 +151778,13 @@ index a9ca2f3..739544c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_options_api_gn")
diff --git a/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build b/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
-index 2cc0566..8e21947 100644
+index f0c626a..7c31d9e 100644
--- a/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
+++ b/third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151908,7 +151792,7 @@ index 2cc0566..8e21947 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -151916,11 +151800,13 @@ index 2cc0566..8e21947 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151931,41 +151817,38 @@ index 2cc0566..8e21947 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -151981,13 +151864,13 @@ index 2cc0566..8e21947 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("bitrate_allocation_gn")
diff --git a/third_party/libwebrtc/api/call_api_gn/moz.build b/third_party/libwebrtc/api/call_api_gn/moz.build
-index c6b0125..b0d3ef9 100644
+index 81dbf26..f575685 100644
--- a/third_party/libwebrtc/api/call_api_gn/moz.build
+++ b/third_party/libwebrtc/api/call_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -151995,7 +151878,7 @@ index c6b0125..b0d3ef9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152003,11 +151886,13 @@ index c6b0125..b0d3ef9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152018,41 +151903,38 @@ index c6b0125..b0d3ef9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152068,13 +151950,13 @@ index c6b0125..b0d3ef9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("call_api_gn")
diff --git a/third_party/libwebrtc/api/callfactory_api_gn/moz.build b/third_party/libwebrtc/api/callfactory_api_gn/moz.build
-index bb55b07..6c7ab10 100644
+index 91184e1..00c37d0 100644
--- a/third_party/libwebrtc/api/callfactory_api_gn/moz.build
+++ b/third_party/libwebrtc/api/callfactory_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152082,7 +151964,7 @@ index bb55b07..6c7ab10 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152090,11 +151972,13 @@ index bb55b07..6c7ab10 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152105,41 +151989,38 @@ index bb55b07..6c7ab10 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152155,13 +152036,13 @@ index bb55b07..6c7ab10 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("callfactory_api_gn")
diff --git a/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build b/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
-index fe4a347c..9ca8a02 100644
+index 0829f1f..cb56220 100644
--- a/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
+++ b/third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152169,7 +152050,7 @@ index fe4a347c..9ca8a02 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152177,11 +152058,13 @@ index fe4a347c..9ca8a02 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152192,41 +152075,38 @@ index fe4a347c..9ca8a02 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152242,13 +152122,13 @@ index fe4a347c..9ca8a02 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frame_decryptor_interface_gn")
diff --git a/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build b/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
-index aaaaeac..e3527f9 100644
+index dea3d6f..b9215a3 100644
--- a/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
+++ b/third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152256,7 +152136,7 @@ index aaaaeac..e3527f9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152264,11 +152144,13 @@ index aaaaeac..e3527f9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152279,41 +152161,38 @@ index aaaaeac..e3527f9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152329,13 +152208,13 @@ index aaaaeac..e3527f9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frame_encryptor_interface_gn")
diff --git a/third_party/libwebrtc/api/crypto/options_gn/moz.build b/third_party/libwebrtc/api/crypto/options_gn/moz.build
-index 1849070..4115917 100644
+index 4b7cdf9..0ae9c89 100644
--- a/third_party/libwebrtc/api/crypto/options_gn/moz.build
+++ b/third_party/libwebrtc/api/crypto/options_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152343,7 +152222,7 @@ index 1849070..4115917 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152351,11 +152230,13 @@ index 1849070..4115917 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152366,44 +152247,38 @@ index 1849070..4115917 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152419,13 +152294,13 @@ index 1849070..4115917 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("options_gn")
diff --git a/third_party/libwebrtc/api/fec_controller_api_gn/moz.build b/third_party/libwebrtc/api/fec_controller_api_gn/moz.build
-index 4b623b0..068016a 100644
+index d4b1272..f095e98 100644
--- a/third_party/libwebrtc/api/fec_controller_api_gn/moz.build
+++ b/third_party/libwebrtc/api/fec_controller_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152433,7 +152308,7 @@ index 4b623b0..068016a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152441,11 +152316,13 @@ index 4b623b0..068016a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152456,41 +152333,38 @@ index 4b623b0..068016a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152506,13 +152380,13 @@ index 4b623b0..068016a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fec_controller_api_gn")
diff --git a/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build b/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-index 39a5a04..c991a78 100644
+index 8a12110..308c744 100644
--- a/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
+++ b/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-@@ -75,7 +75,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152520,7 +152394,7 @@ index 39a5a04..c991a78 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152528,11 +152402,13 @@ index 39a5a04..c991a78 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152543,41 +152419,38 @@ index 39a5a04..c991a78 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -191,13 +188,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -195,6 +197,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -203,4 +211,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152593,13 +152466,13 @@ index 39a5a04..c991a78 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frame_transformer_interface_gn")
diff --git a/third_party/libwebrtc/api/function_view_gn/moz.build b/third_party/libwebrtc/api/function_view_gn/moz.build
-index 67fc4e2..6a39e55 100644
+index a05888e..fe7332d 100644
--- a/third_party/libwebrtc/api/function_view_gn/moz.build
+++ b/third_party/libwebrtc/api/function_view_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152607,7 +152480,7 @@ index 67fc4e2..6a39e55 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152615,11 +152488,13 @@ index 67fc4e2..6a39e55 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152630,41 +152505,38 @@ index 67fc4e2..6a39e55 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152680,13 +152552,13 @@ index 67fc4e2..6a39e55 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("function_view_gn")
diff --git a/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build b/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
-index e2eb369..2a68b13 100644
+index 9bfd92d..4f1138f 100644
--- a/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
+++ b/third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152694,7 +152566,7 @@ index e2eb369..2a68b13 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152702,11 +152574,13 @@ index e2eb369..2a68b13 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152717,41 +152591,38 @@ index e2eb369..2a68b13 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152767,13 +152638,13 @@ index e2eb369..2a68b13 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("jingle_logging_api_gn")
diff --git a/third_party/libwebrtc/api/media_stream_interface_gn/moz.build b/third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-index 90856a4..9ce15ca 100644
+index 0a4dae4..dfff8a0 100644
--- a/third_party/libwebrtc/api/media_stream_interface_gn/moz.build
+++ b/third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152781,7 +152652,7 @@ index 90856a4..9ce15ca 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152789,11 +152660,13 @@ index 90856a4..9ce15ca 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152804,44 +152677,38 @@ index 90856a4..9ce15ca 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152857,13 +152724,13 @@ index 90856a4..9ce15ca 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("media_stream_interface_gn")
diff --git a/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build b/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
-index 0b2386c..88d5723 100644
+index e1e72b4..8aebf9f 100644
--- a/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152871,7 +152738,7 @@ index 0b2386c..88d5723 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152879,11 +152746,13 @@ index 0b2386c..88d5723 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152894,44 +152763,38 @@ index 0b2386c..88d5723 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152947,13 +152810,13 @@ index 0b2386c..88d5723 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("default_neteq_controller_factory_gn")
diff --git a/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build b/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-index b1fa978..de4c042 100644
+index ad0b2116..ba3296f8 100644
--- a/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
+++ b/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -152961,7 +152824,7 @@ index b1fa978..de4c042 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -152969,11 +152832,13 @@ index b1fa978..de4c042 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -152984,44 +152849,38 @@ index b1fa978..de4c042 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153037,13 +152896,13 @@ index b1fa978..de4c042 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("neteq_api_gn")
diff --git a/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build b/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
-index a250cf1..234c782 100644
+index bb21420..8dcb66f 100644
--- a/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
+++ b/third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153051,7 +152910,7 @@ index a250cf1..234c782 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -139,11 +138,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -138,10 +137,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153059,11 +152918,13 @@ index a250cf1..234c782 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -152,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -151,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153074,41 +152935,38 @@ index a250cf1..234c782 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -180,6 +170,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -182,6 +176,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -189,13 +186,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -193,6 +195,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,4 +209,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153124,13 +152982,13 @@ index a250cf1..234c782 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("neteq_controller_api_gn")
diff --git a/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build b/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-index 179458a..069c398 100644
+index b94199007..a9d0c5a9e 100644
--- a/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
+++ b/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153138,7 +152996,7 @@ index 179458a..069c398 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153146,11 +153004,13 @@ index 179458a..069c398 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153161,44 +153021,38 @@ index 179458a..069c398 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153214,13 +153068,13 @@ index 179458a..069c398 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("tick_timer_gn")
diff --git a/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build b/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
-index 1a5b0bf..b00f466 100644
+index 4e3f495..a92e39d 100644
--- a/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
+++ b/third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153228,7 +153082,7 @@ index 1a5b0bf..b00f466 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153236,11 +153090,13 @@ index 1a5b0bf..b00f466 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153251,41 +153107,38 @@ index 1a5b0bf..b00f466 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153301,13 +153154,13 @@ index 1a5b0bf..b00f466 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("network_state_predictor_api_gn")
diff --git a/third_party/libwebrtc/api/numerics/numerics_gn/moz.build b/third_party/libwebrtc/api/numerics/numerics_gn/moz.build
-index fa11b290a..b5e327c 100644
+index 9619b82..2d0c999 100644
--- a/third_party/libwebrtc/api/numerics/numerics_gn/moz.build
+++ b/third_party/libwebrtc/api/numerics/numerics_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153315,7 +153168,7 @@ index fa11b290a..b5e327c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153323,11 +153176,13 @@ index fa11b290a..b5e327c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153338,44 +153193,38 @@ index fa11b290a..b5e327c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153391,13 +153240,13 @@ index fa11b290a..b5e327c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("numerics_gn")
diff --git a/third_party/libwebrtc/api/priority_gn/moz.build b/third_party/libwebrtc/api/priority_gn/moz.build
-index dbe91f7..f6f5a0f 100644
+index d24a05c..a4cb80e 100644
--- a/third_party/libwebrtc/api/priority_gn/moz.build
+++ b/third_party/libwebrtc/api/priority_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153405,7 +153254,7 @@ index dbe91f7..f6f5a0f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153413,11 +153262,13 @@ index dbe91f7..f6f5a0f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153428,41 +153279,38 @@ index dbe91f7..f6f5a0f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153478,13 +153326,13 @@ index dbe91f7..f6f5a0f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("priority_gn")
diff --git a/third_party/libwebrtc/api/refcountedbase_gn/moz.build b/third_party/libwebrtc/api/refcountedbase_gn/moz.build
-index 1511ac2..ab351bb 100644
+index 11fd3b4..5133b43 100644
--- a/third_party/libwebrtc/api/refcountedbase_gn/moz.build
+++ b/third_party/libwebrtc/api/refcountedbase_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153492,7 +153340,7 @@ index 1511ac2..ab351bb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153500,11 +153348,13 @@ index 1511ac2..ab351bb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153515,41 +153365,38 @@ index 1511ac2..ab351bb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153565,13 +153412,13 @@ index 1511ac2..ab351bb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("refcountedbase_gn")
diff --git a/third_party/libwebrtc/api/rtc_error_gn/moz.build b/third_party/libwebrtc/api/rtc_error_gn/moz.build
-index 01b92ce..de87a29 100644
+index 8097cda..0f3d080 100644
--- a/third_party/libwebrtc/api/rtc_error_gn/moz.build
+++ b/third_party/libwebrtc/api/rtc_error_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153579,7 +153426,7 @@ index 01b92ce..de87a29 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153587,11 +153434,13 @@ index 01b92ce..de87a29 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153602,44 +153451,38 @@ index 01b92ce..de87a29 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153655,13 +153498,13 @@ index 01b92ce..de87a29 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_error_gn")
diff --git a/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build b/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
-index 62dec010..c747f7b 100644
+index 5e8e0e2..20afb8d 100644
--- a/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
+++ b/third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153669,7 +153512,7 @@ index 62dec010..c747f7b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153677,11 +153520,13 @@ index 62dec010..c747f7b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153692,44 +153537,38 @@ index 62dec010..c747f7b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153745,13 +153584,13 @@ index 62dec010..c747f7b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_log_gn")
diff --git a/third_party/libwebrtc/api/rtp_headers_gn/moz.build b/third_party/libwebrtc/api/rtp_headers_gn/moz.build
-index 2a67aeb..b0decd9 100644
+index f9a2bee..c2db9d6 100644
--- a/third_party/libwebrtc/api/rtp_headers_gn/moz.build
+++ b/third_party/libwebrtc/api/rtp_headers_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153759,7 +153598,7 @@ index 2a67aeb..b0decd9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153767,11 +153606,13 @@ index 2a67aeb..b0decd9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153782,44 +153623,38 @@ index 2a67aeb..b0decd9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153835,13 +153670,13 @@ index 2a67aeb..b0decd9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_headers_gn")
diff --git a/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build b/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-index 8918746..ec7e9d6 100644
+index 514ad3d..240ee75 100644
--- a/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
+++ b/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153849,7 +153684,7 @@ index 8918746..ec7e9d6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153857,11 +153692,13 @@ index 8918746..ec7e9d6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153872,44 +153709,38 @@ index 8918746..ec7e9d6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153925,13 +153756,13 @@ index 8918746..ec7e9d6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_packet_info_gn")
diff --git a/third_party/libwebrtc/api/rtp_parameters_gn/moz.build b/third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-index 23d200f..fec9170 100644
+index f14b25c..8e62183 100644
--- a/third_party/libwebrtc/api/rtp_parameters_gn/moz.build
+++ b/third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -153939,7 +153770,7 @@ index 23d200f..fec9170 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -137,11 +136,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -136,10 +135,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -153947,11 +153778,13 @@ index 23d200f..fec9170 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -150,10 +144,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -149,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -153962,44 +153795,38 @@ index 23d200f..fec9170 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -178,6 +168,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -180,6 +174,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -191,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -195,6 +197,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -199,9 +202,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -207,4 +215,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154015,13 +153842,13 @@ index 23d200f..fec9170 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_parameters_gn")
diff --git a/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build b/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
-index 6b31767..a7bd7d8 100644
+index 3d00c45..dd2cf5c 100644
--- a/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
+++ b/third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154029,7 +153856,7 @@ index 6b31767..a7bd7d8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154037,11 +153864,13 @@ index 6b31767..a7bd7d8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154052,41 +153881,38 @@ index 6b31767..a7bd7d8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154102,13 +153928,13 @@ index 6b31767..a7bd7d8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_transceiver_direction_gn")
diff --git a/third_party/libwebrtc/api/scoped_refptr_gn/moz.build b/third_party/libwebrtc/api/scoped_refptr_gn/moz.build
-index 97b07c9..7151d4c 100644
+index 21c182e..6c5f8c7 100644
--- a/third_party/libwebrtc/api/scoped_refptr_gn/moz.build
+++ b/third_party/libwebrtc/api/scoped_refptr_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154116,7 +153942,7 @@ index 97b07c9..7151d4c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154124,11 +153950,13 @@ index 97b07c9..7151d4c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154139,41 +153967,38 @@ index 97b07c9..7151d4c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154189,13 +154014,13 @@ index 97b07c9..7151d4c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("scoped_refptr_gn")
diff --git a/third_party/libwebrtc/api/simulated_network_api_gn/moz.build b/third_party/libwebrtc/api/simulated_network_api_gn/moz.build
-index 17cbb28..1845e6c 100644
+index 5ab2091..dba4e30 100644
--- a/third_party/libwebrtc/api/simulated_network_api_gn/moz.build
+++ b/third_party/libwebrtc/api/simulated_network_api_gn/moz.build
-@@ -75,7 +75,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154203,7 +154028,7 @@ index 17cbb28..1845e6c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154211,11 +154036,13 @@ index 17cbb28..1845e6c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154226,41 +154053,38 @@ index 17cbb28..1845e6c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -191,13 +188,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -195,6 +197,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -203,4 +211,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154276,13 +154100,13 @@ index 17cbb28..1845e6c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("simulated_network_api_gn")
diff --git a/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build b/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-index 691d7ed..02e2b71 100644
+index 318260b2..c8ac73d 100644
--- a/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
+++ b/third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154290,7 +154114,7 @@ index 691d7ed..02e2b71 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154298,11 +154122,13 @@ index 691d7ed..02e2b71 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154313,44 +154139,38 @@ index 691d7ed..02e2b71 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154366,13 +154186,13 @@ index 691d7ed..02e2b71 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("task_queue_gn")
diff --git a/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build b/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-index 3513f9c2..2e670ab 100644
+index 40ebc67..a31ebdf 100644
--- a/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154380,7 +154200,7 @@ index 3513f9c2..2e670ab 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154388,11 +154208,13 @@ index 3513f9c2..2e670ab 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154403,44 +154225,38 @@ index 3513f9c2..2e670ab 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154456,13 +154272,13 @@ index 3513f9c2..2e670ab 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("bitrate_settings_gn")
diff --git a/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build b/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
-index 04aaa9a..afcb84c 100644
+index 6c4338c..cf084bb 100644
--- a/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154470,7 +154286,7 @@ index 04aaa9a..afcb84c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154478,11 +154294,13 @@ index 04aaa9a..afcb84c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154493,44 +154311,38 @@ index 04aaa9a..afcb84c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154546,13 +154358,13 @@ index 04aaa9a..afcb84c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("field_trial_based_config_gn")
diff --git a/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build b/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-index 409c7dd..5ff4f83 100644
+index cc8c4aa..b1945f1 100644
--- a/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154560,7 +154372,7 @@ index 409c7dd..5ff4f83 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154568,11 +154380,13 @@ index 409c7dd..5ff4f83 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154583,44 +154397,38 @@ index 409c7dd..5ff4f83 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154636,13 +154444,13 @@ index 409c7dd..5ff4f83 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("goog_cc_gn")
diff --git a/third_party/libwebrtc/api/transport/network_control_gn/moz.build b/third_party/libwebrtc/api/transport/network_control_gn/moz.build
-index 09e3832..38023b17 100644
+index eb3e985..39c7a01 100644
--- a/third_party/libwebrtc/api/transport/network_control_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/network_control_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154650,7 +154458,7 @@ index 09e3832..38023b17 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154658,11 +154466,13 @@ index 09e3832..38023b17 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154673,44 +154483,38 @@ index 09e3832..38023b17 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154726,13 +154530,13 @@ index 09e3832..38023b17 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("network_control_gn")
diff --git a/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build b/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-index 735d60d..7b8bebf 100644
+index 40322fdb..82a6641 100644
--- a/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154740,7 +154544,7 @@ index 735d60d..7b8bebf 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154748,11 +154552,13 @@ index 735d60d..7b8bebf 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154763,44 +154569,38 @@ index 735d60d..7b8bebf 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154816,13 +154616,13 @@ index 735d60d..7b8bebf 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("dependency_descriptor_gn")
diff --git a/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build b/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
-index efeffbc..4faee12 100644
+index 9452c3c..11bacc6 100644
--- a/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154830,7 +154630,7 @@ index efeffbc..4faee12 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154838,11 +154638,13 @@ index efeffbc..4faee12 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154853,41 +154655,38 @@ index efeffbc..4faee12 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154903,13 +154702,13 @@ index efeffbc..4faee12 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_source_gn")
diff --git a/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build b/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build
-index f3132f7..4e5d0b6 100644
+index 6eb8885..2d8e8fd 100644
--- a/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build
+++ b/third_party/libwebrtc/api/transport/webrtc_key_value_config_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -154917,7 +154716,7 @@ index f3132f7..4e5d0b6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -154925,11 +154724,13 @@ index f3132f7..4e5d0b6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154940,41 +154741,38 @@ index f3132f7..4e5d0b6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -154990,13 +154788,13 @@ index f3132f7..4e5d0b6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_key_value_config_gn")
diff --git a/third_party/libwebrtc/api/transport_api_gn/moz.build b/third_party/libwebrtc/api/transport_api_gn/moz.build
-index 41b32d6..62d4d2c 100644
+index 8edd460..faa9e5e 100644
--- a/third_party/libwebrtc/api/transport_api_gn/moz.build
+++ b/third_party/libwebrtc/api/transport_api_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155004,7 +154802,7 @@ index 41b32d6..62d4d2c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155012,11 +154810,13 @@ index 41b32d6..62d4d2c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155027,44 +154827,38 @@ index 41b32d6..62d4d2c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155080,13 +154874,13 @@ index 41b32d6..62d4d2c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("transport_api_gn")
diff --git a/third_party/libwebrtc/api/units/data_rate_gn/moz.build b/third_party/libwebrtc/api/units/data_rate_gn/moz.build
-index 6708de4..508ffe1 100644
+index 693019a..81ef2b0 100644
--- a/third_party/libwebrtc/api/units/data_rate_gn/moz.build
+++ b/third_party/libwebrtc/api/units/data_rate_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155094,7 +154888,7 @@ index 6708de4..508ffe1 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155102,11 +154896,13 @@ index 6708de4..508ffe1 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155117,44 +154913,38 @@ index 6708de4..508ffe1 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155170,13 +154960,13 @@ index 6708de4..508ffe1 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("data_rate_gn")
diff --git a/third_party/libwebrtc/api/units/data_size_gn/moz.build b/third_party/libwebrtc/api/units/data_size_gn/moz.build
-index 14b9742..9257173 100644
+index 65aa40d..39ef6b8 100644
--- a/third_party/libwebrtc/api/units/data_size_gn/moz.build
+++ b/third_party/libwebrtc/api/units/data_size_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155184,7 +154974,7 @@ index 14b9742..9257173 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155192,11 +154982,13 @@ index 14b9742..9257173 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155207,44 +154999,38 @@ index 14b9742..9257173 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155260,13 +155046,13 @@ index 14b9742..9257173 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("data_size_gn")
diff --git a/third_party/libwebrtc/api/units/frequency_gn/moz.build b/third_party/libwebrtc/api/units/frequency_gn/moz.build
-index 79fcff48..5a54b58 100644
+index d3e6177..3de4c8b 100644
--- a/third_party/libwebrtc/api/units/frequency_gn/moz.build
+++ b/third_party/libwebrtc/api/units/frequency_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155274,7 +155060,7 @@ index 79fcff48..5a54b58 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155282,11 +155068,13 @@ index 79fcff48..5a54b58 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155297,44 +155085,38 @@ index 79fcff48..5a54b58 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155350,13 +155132,13 @@ index 79fcff48..5a54b58 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frequency_gn")
diff --git a/third_party/libwebrtc/api/units/time_delta_gn/moz.build b/third_party/libwebrtc/api/units/time_delta_gn/moz.build
-index 9cd9ff2..73d224e 100644
+index 177fe04..eb2d316 100644
--- a/third_party/libwebrtc/api/units/time_delta_gn/moz.build
+++ b/third_party/libwebrtc/api/units/time_delta_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155364,7 +155146,7 @@ index 9cd9ff2..73d224e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155372,11 +155154,13 @@ index 9cd9ff2..73d224e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155387,44 +155171,38 @@ index 9cd9ff2..73d224e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155440,13 +155218,13 @@ index 9cd9ff2..73d224e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("time_delta_gn")
diff --git a/third_party/libwebrtc/api/units/timestamp_gn/moz.build b/third_party/libwebrtc/api/units/timestamp_gn/moz.build
-index 23aa0ba..83f104b 100644
+index a8b0859..5af5ee4 100644
--- a/third_party/libwebrtc/api/units/timestamp_gn/moz.build
+++ b/third_party/libwebrtc/api/units/timestamp_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155454,7 +155232,7 @@ index 23aa0ba..83f104b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155462,11 +155240,13 @@ index 23aa0ba..83f104b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155477,44 +155257,38 @@ index 23aa0ba..83f104b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155530,13 +155304,13 @@ index 23aa0ba..83f104b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("timestamp_gn")
diff --git a/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build b/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
-index 0ecc793..c0cbd775 100644
+index c5c123e..7dad3fd 100644
--- a/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155544,7 +155318,7 @@ index 0ecc793..c0cbd775 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155552,11 +155326,13 @@ index 0ecc793..c0cbd775 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155567,44 +155343,38 @@ index 0ecc793..c0cbd775 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155620,13 +155390,13 @@ index 0ecc793..c0cbd775 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("builtin_video_bitrate_allocator_factory_gn")
diff --git a/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build b/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-index 456c8a5..b5f8aa6 100644
+index 3adb5ed..86773e3 100644
--- a/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
+++ b/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155634,7 +155404,7 @@ index 456c8a5..b5f8aa6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155642,11 +155412,13 @@ index 456c8a5..b5f8aa6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155657,44 +155429,38 @@ index 456c8a5..b5f8aa6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155710,13 +155476,13 @@ index 456c8a5..b5f8aa6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("encoded_frame_gn")
diff --git a/third_party/libwebrtc/api/video/encoded_image_gn/moz.build b/third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-index d109bfa..95ac051 100644
+index b45968f..7893bfd 100644
--- a/third_party/libwebrtc/api/video/encoded_image_gn/moz.build
+++ b/third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155724,7 +155490,7 @@ index d109bfa..95ac051 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155732,11 +155498,13 @@ index d109bfa..95ac051 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155747,44 +155515,38 @@ index d109bfa..95ac051 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155800,13 +155562,13 @@ index d109bfa..95ac051 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("encoded_image_gn")
diff --git a/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build b/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
-index df2bcac..18a922d 100644
+index bb772b7..a15140b 100644
--- a/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
+++ b/third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155814,7 +155576,7 @@ index df2bcac..18a922d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155822,11 +155584,13 @@ index df2bcac..18a922d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155837,41 +155601,38 @@ index df2bcac..18a922d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155887,13 +155648,13 @@ index df2bcac..18a922d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("recordable_encoded_frame_gn")
diff --git a/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build b/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-index 539cc93..4d2b097 100644
+index 140c6ea..677d785 100644
--- a/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155901,7 +155662,7 @@ index 539cc93..4d2b097 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155909,11 +155670,13 @@ index 539cc93..4d2b097 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155924,44 +155687,38 @@ index 539cc93..4d2b097 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -155977,13 +155734,13 @@ index 539cc93..4d2b097 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_adaptation_gn")
diff --git a/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build b/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-index 427be85..4d802d0 100644
+index 22b9e42..868852de 100644
--- a/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -155991,7 +155748,7 @@ index 427be85..4d802d0 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -155999,11 +155756,13 @@ index 427be85..4d802d0 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156014,44 +155773,38 @@ index 427be85..4d802d0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156067,13 +155820,13 @@ index 427be85..4d802d0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_bitrate_allocation_gn")
diff --git a/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build b/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
-index 07db1b3..4cfe784 100644
+index aaf863a..42a97f9 100644
--- a/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156081,7 +155834,7 @@ index 07db1b3..4cfe784 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156089,11 +155842,13 @@ index 07db1b3..4cfe784 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156104,41 +155859,38 @@ index 07db1b3..4cfe784 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156154,13 +155906,13 @@ index 07db1b3..4cfe784 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_bitrate_allocator_factory_gn")
diff --git a/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build b/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-index 8726c6c..5f8bee8 100644
+index d47ea5a..87f6de2 100644
--- a/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156168,7 +155920,7 @@ index 8726c6c..5f8bee8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156176,11 +155928,13 @@ index 8726c6c..5f8bee8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156191,44 +155945,38 @@ index 8726c6c..5f8bee8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156244,13 +155992,13 @@ index 8726c6c..5f8bee8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_bitrate_allocator_gn")
diff --git a/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build b/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
-index 9f6daff..e15a1d9 100644
+index 2fe69a1..49b35a3 100644
--- a/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156258,7 +156006,7 @@ index 9f6daff..e15a1d9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156266,11 +156014,13 @@ index 9f6daff..e15a1d9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156281,41 +156031,38 @@ index 9f6daff..e15a1d9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156331,13 +156078,13 @@ index 9f6daff..e15a1d9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_codec_constants_gn")
diff --git a/third_party/libwebrtc/api/video/video_frame_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_gn/moz.build
-index cec2451..fd2971b 100644
+index ff9becd..ca96d5c 100644
--- a/third_party/libwebrtc/api/video/video_frame_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_frame_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156345,7 +156092,7 @@ index cec2451..fd2971b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -142,11 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -141,10 +140,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156353,11 +156100,13 @@ index cec2451..fd2971b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -155,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -154,10 +152,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156368,44 +156117,38 @@ index cec2451..fd2971b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -183,6 +173,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -185,6 +179,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -196,6 +193,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -200,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -204,9 +207,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -212,4 +220,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156421,13 +156164,13 @@ index cec2451..fd2971b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_frame_gn")
diff --git a/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-index fa9d713..6dda9e2 100644
+index db190b5..3288031 100644
--- a/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156435,7 +156178,7 @@ index fa9d713..6dda9e2 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156443,11 +156186,13 @@ index fa9d713..6dda9e2 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156458,44 +156203,38 @@ index fa9d713..6dda9e2 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156511,13 +156250,13 @@ index fa9d713..6dda9e2 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_frame_i010_gn")
diff --git a/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build
-index 3d4c1bd..31e491b 100644
+index 9b14069..b773f61 100644
--- a/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_frame_i420_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156525,7 +156264,7 @@ index 3d4c1bd..31e491b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156533,11 +156272,13 @@ index 3d4c1bd..31e491b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156548,44 +156289,38 @@ index 3d4c1bd..31e491b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156601,13 +156336,13 @@ index 3d4c1bd..31e491b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_frame_i420_gn")
diff --git a/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-index c817dc4..b96aeb4 100644
+index 04b07b2..0bba927 100644
--- a/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156615,7 +156350,7 @@ index c817dc4..b96aeb4 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156623,11 +156358,13 @@ index c817dc4..b96aeb4 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156638,44 +156375,38 @@ index c817dc4..b96aeb4 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156691,13 +156422,13 @@ index c817dc4..b96aeb4 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_frame_metadata_gn")
diff --git a/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build
-index 63ee6f9..3525fa7 100644
+index 263b498..eb73b01 100644
--- a/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_frame_nv12_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156705,7 +156436,7 @@ index 63ee6f9..3525fa7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156713,11 +156444,13 @@ index 63ee6f9..3525fa7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156728,44 +156461,38 @@ index 63ee6f9..3525fa7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156781,13 +156508,13 @@ index 63ee6f9..3525fa7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_frame_nv12_gn")
diff --git a/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
-index 57cfaf7..725b556 100644
+index e420434..365a346 100644
--- a/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156795,7 +156522,7 @@ index 57cfaf7..725b556 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156803,11 +156530,13 @@ index 57cfaf7..725b556 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156818,41 +156547,38 @@ index 57cfaf7..725b556 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156868,13 +156594,13 @@ index 57cfaf7..725b556 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_frame_type_gn")
diff --git a/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build b/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-index 54cdbd8..992a889 100644
+index 0e3dcea..23c32f5 100644
--- a/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156882,7 +156608,7 @@ index 54cdbd8..992a889 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -143,11 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -142,10 +141,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156890,11 +156616,13 @@ index 54cdbd8..992a889 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -156,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -155,10 +153,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156905,44 +156633,38 @@ index 54cdbd8..992a889 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -184,6 +174,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -186,6 +180,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -197,6 +194,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -205,9 +208,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -213,4 +221,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156958,13 +156680,13 @@ index 54cdbd8..992a889 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_rtp_headers_gn")
diff --git a/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build b/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build
-index 57a39cf..3528c34 100644
+index 5a0cb4d..d076578 100644
--- a/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_stream_encoder_create_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -156972,7 +156694,7 @@ index 57a39cf..3528c34 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -156980,11 +156702,13 @@ index 57a39cf..3528c34 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -156995,44 +156719,38 @@ index 57a39cf..3528c34 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157048,13 +156766,13 @@ index 57a39cf..3528c34 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_stream_encoder_create_gn")
diff --git a/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build b/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
-index e5e9a7c0..7114a4a 100644
+index bc76ea3..7a011b3 100644
--- a/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
+++ b/third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157062,7 +156780,7 @@ index e5e9a7c0..7114a4a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157070,11 +156788,13 @@ index e5e9a7c0..7114a4a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157085,41 +156805,38 @@ index e5e9a7c0..7114a4a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157135,13 +156852,13 @@ index e5e9a7c0..7114a4a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_stream_encoder_gn")
diff --git a/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build b/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
-index 2666e25..f672ad6 100644
+index d1b9e96..5d25ba5 100644
--- a/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
+++ b/third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157149,7 +156866,7 @@ index 2666e25..f672ad6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157157,11 +156874,13 @@ index 2666e25..f672ad6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157172,41 +156891,38 @@ index 2666e25..f672ad6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157222,13 +156938,13 @@ index 2666e25..f672ad6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("bitstream_parser_api_gn")
diff --git a/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build b/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
-index 1d21c1f..b338227 100644
+index f1509f6..93f760d 100644
--- a/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157236,7 +156952,7 @@ index 1d21c1f..b338227 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157244,11 +156960,13 @@ index 1d21c1f..b338227 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157259,44 +156977,38 @@ index 1d21c1f..b338227 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157312,13 +157024,13 @@ index 1d21c1f..b338227 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("builtin_video_decoder_factory_gn")
diff --git a/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build b/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build
-index bd29841..ee6547d 100644
+index 6839a60..98aebda 100644
--- a/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/video_codecs/builtin_video_encoder_factory_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157326,7 +157038,7 @@ index bd29841..ee6547d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157334,11 +157046,13 @@ index bd29841..ee6547d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157349,44 +157063,38 @@ index bd29841..ee6547d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157402,13 +157110,13 @@ index bd29841..ee6547d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("builtin_video_encoder_factory_gn")
diff --git a/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build b/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
-index 90afc61c..fe91abb 100644
+index 122624b..c3cb1c3 100644
--- a/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
+++ b/third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157416,7 +157124,7 @@ index 90afc61c..fe91abb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157424,11 +157132,13 @@ index 90afc61c..fe91abb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157439,44 +157149,38 @@ index 90afc61c..fe91abb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157492,13 +157196,13 @@ index 90afc61c..fe91abb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_software_fallback_wrappers_gn")
diff --git a/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build b/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
-index acf0202..472a413 100644
+index 0dd0193..281aa65 100644
--- a/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
+++ b/third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
-@@ -86,7 +86,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157506,7 +157210,7 @@ index acf0202..472a413 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157514,11 +157218,13 @@ index acf0202..472a413 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157529,44 +157235,38 @@ index acf0202..472a413 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157582,13 +157282,13 @@ index acf0202..472a413 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_codecs_api_gn")
diff --git a/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build b/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
-index e0bcb09..1712d41 100644
+index 3db1ee8..ccc37e6 100644
--- a/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
+++ b/third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157596,7 +157296,7 @@ index e0bcb09..1712d41 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157604,11 +157304,13 @@ index e0bcb09..1712d41 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157619,44 +157321,38 @@ index e0bcb09..1712d41 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157672,13 +157368,13 @@ index e0bcb09..1712d41 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("vp8_temporal_layers_factory_gn")
diff --git a/third_party/libwebrtc/audio/audio_gn/moz.build b/third_party/libwebrtc/audio/audio_gn/moz.build
-index 48c74e8..662d087 100644
+index 59588fa..5b0a304 100644
--- a/third_party/libwebrtc/audio/audio_gn/moz.build
+++ b/third_party/libwebrtc/audio/audio_gn/moz.build
-@@ -92,7 +92,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -91,7 +91,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157686,7 +157382,7 @@ index 48c74e8..662d087 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -162,11 +161,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -161,10 +160,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157694,11 +157390,13 @@ index 48c74e8..662d087 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -175,10 +169,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -174,10 +172,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157709,44 +157407,38 @@ index 48c74e8..662d087 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -203,6 +193,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -205,6 +199,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -216,6 +213,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -220,6 +222,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -224,9 +227,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -232,4 +240,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157762,13 +157454,13 @@ index 48c74e8..662d087 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_gn")
diff --git a/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build b/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-index f3708d6..a9b7630 100644
+index b387486..c407096 100644
--- a/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
+++ b/third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157776,7 +157468,7 @@ index f3708d6..a9b7630 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157784,11 +157476,13 @@ index f3708d6..a9b7630 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157799,44 +157493,38 @@ index f3708d6..a9b7630 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157852,13 +157540,13 @@ index f3708d6..a9b7630 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_frame_operations_gn")
diff --git a/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build b/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-index 0c08bff..601dbb0d 100644
+index 98fe445..c59a3da 100644
--- a/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
+++ b/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-@@ -88,7 +88,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -87,7 +87,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157866,7 +157554,7 @@ index 0c08bff..601dbb0d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -158,11 +157,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -157,10 +156,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157874,11 +157562,13 @@ index 0c08bff..601dbb0d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -171,10 +165,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -170,10 +168,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157889,44 +157579,38 @@ index 0c08bff..601dbb0d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -199,6 +189,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -201,6 +195,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -212,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -216,6 +218,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -220,9 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -228,4 +236,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157942,13 +157626,13 @@ index 0c08bff..601dbb0d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("resource_adaptation_gn")
diff --git a/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build b/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
-index a746c88..23c525d 100644
+index 8418214..22d37b3 100644
--- a/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
+++ b/third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -157956,7 +157640,7 @@ index a746c88..23c525d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -157964,11 +157648,13 @@ index a746c88..23c525d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -157979,41 +157665,38 @@ index a746c88..23c525d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158029,13 +157712,13 @@ index a746c88..23c525d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_sender_interface_gn")
diff --git a/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build b/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-index 8d140ba..8835ae3 100644
+index d0706ba..58d92f2 100644
--- a/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
+++ b/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158043,7 +157726,7 @@ index 8d140ba..8835ae3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158051,11 +157734,13 @@ index 8d140ba..8835ae3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158066,44 +157751,38 @@ index 8d140ba..8835ae3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158119,13 +157798,13 @@ index 8d140ba..8835ae3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("bitrate_allocator_gn")
diff --git a/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build b/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-index 2dba19a..150cae5 100644
+index 3302bb8..3e6a932 100644
--- a/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
+++ b/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158133,7 +157812,7 @@ index 2dba19a..150cae5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158141,11 +157820,13 @@ index 2dba19a..150cae5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158156,44 +157837,38 @@ index 2dba19a..150cae5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158209,13 +157884,13 @@ index 2dba19a..150cae5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("bitrate_configurator_gn")
diff --git a/third_party/libwebrtc/call/call_gn/moz.build b/third_party/libwebrtc/call/call_gn/moz.build
-index 8cb24f9..e7ede49 100644
+index 24f1369..959d606 100644
--- a/third_party/libwebrtc/call/call_gn/moz.build
+++ b/third_party/libwebrtc/call/call_gn/moz.build
-@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158223,7 +157898,7 @@ index 8cb24f9..e7ede49 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -153,11 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -152,10 +151,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158231,11 +157906,13 @@ index 8cb24f9..e7ede49 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -166,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -165,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158246,44 +157923,38 @@ index 8cb24f9..e7ede49 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -194,6 +184,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -196,6 +190,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -207,6 +204,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -211,6 +213,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -215,9 +218,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -223,4 +231,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158299,13 +157970,13 @@ index 8cb24f9..e7ede49 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("call_gn")
diff --git a/third_party/libwebrtc/call/call_interfaces_gn/moz.build b/third_party/libwebrtc/call/call_interfaces_gn/moz.build
-index 4f07c8b7..f9aa9e3 100644
+index e0f8d23..7f0feae 100644
--- a/third_party/libwebrtc/call/call_interfaces_gn/moz.build
+++ b/third_party/libwebrtc/call/call_interfaces_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158313,7 +157984,7 @@ index 4f07c8b7..f9aa9e3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158321,11 +157992,13 @@ index 4f07c8b7..f9aa9e3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158336,44 +158009,38 @@ index 4f07c8b7..f9aa9e3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158389,13 +158056,13 @@ index 4f07c8b7..f9aa9e3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("call_interfaces_gn")
diff --git a/third_party/libwebrtc/call/fake_network_gn/moz.build b/third_party/libwebrtc/call/fake_network_gn/moz.build
-index 54b8d2d..7a04a55 100644
+index 196758b..392aad7 100644
--- a/third_party/libwebrtc/call/fake_network_gn/moz.build
+++ b/third_party/libwebrtc/call/fake_network_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158403,7 +158070,7 @@ index 54b8d2d..7a04a55 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158411,11 +158078,13 @@ index 54b8d2d..7a04a55 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158426,44 +158095,38 @@ index 54b8d2d..7a04a55 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158479,13 +158142,13 @@ index 54b8d2d..7a04a55 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fake_network_gn")
diff --git a/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build b/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-index 040939d..b5f3a7b 100644
+index 51f46cc..d79a1ab 100644
--- a/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
+++ b/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158493,7 +158156,7 @@ index 040939d..b5f3a7b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158501,11 +158164,13 @@ index 040939d..b5f3a7b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158516,44 +158181,38 @@ index 040939d..b5f3a7b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158569,13 +158228,13 @@ index 040939d..b5f3a7b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_interfaces_gn")
diff --git a/third_party/libwebrtc/call/rtp_receiver_gn/moz.build b/third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-index 5c1f19a..89009b7 100644
+index 12d0556..d6097d3 100644
--- a/third_party/libwebrtc/call/rtp_receiver_gn/moz.build
+++ b/third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158583,7 +158242,7 @@ index 5c1f19a..89009b7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158591,11 +158250,13 @@ index 5c1f19a..89009b7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158606,44 +158267,38 @@ index 5c1f19a..89009b7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158659,13 +158314,13 @@ index 5c1f19a..89009b7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_receiver_gn")
diff --git a/third_party/libwebrtc/call/rtp_sender_gn/moz.build b/third_party/libwebrtc/call/rtp_sender_gn/moz.build
-index 1d14b03..0ad5b6d1 100644
+index 114bad2..6e47fbd 100644
--- a/third_party/libwebrtc/call/rtp_sender_gn/moz.build
+++ b/third_party/libwebrtc/call/rtp_sender_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158673,7 +158328,7 @@ index 1d14b03..0ad5b6d1 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158681,11 +158336,13 @@ index 1d14b03..0ad5b6d1 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158696,44 +158353,38 @@ index 1d14b03..0ad5b6d1 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158749,13 +158400,13 @@ index 1d14b03..0ad5b6d1 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_sender_gn")
diff --git a/third_party/libwebrtc/call/simulated_network_gn/moz.build b/third_party/libwebrtc/call/simulated_network_gn/moz.build
-index 62ff829..a79afb5 100644
+index b277778..f0d1f2d 100644
--- a/third_party/libwebrtc/call/simulated_network_gn/moz.build
+++ b/third_party/libwebrtc/call/simulated_network_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158763,7 +158414,7 @@ index 62ff829..a79afb5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158771,11 +158422,13 @@ index 62ff829..a79afb5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158786,44 +158439,38 @@ index 62ff829..a79afb5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158839,13 +158486,13 @@ index 62ff829..a79afb5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("simulated_network_gn")
diff --git a/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build b/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build
-index e51a1dc..14754c7 100644
+index 99a8c56..76ed3d7 100644
--- a/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build
+++ b/third_party/libwebrtc/call/simulated_packet_receiver_gn/moz.build
-@@ -75,7 +75,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158853,7 +158500,7 @@ index e51a1dc..14754c7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158861,11 +158508,13 @@ index e51a1dc..14754c7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158876,41 +158525,38 @@ index e51a1dc..14754c7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -191,13 +188,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -195,6 +197,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -203,4 +211,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158926,13 +158572,13 @@ index e51a1dc..14754c7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("simulated_packet_receiver_gn")
diff --git a/third_party/libwebrtc/call/video_stream_api_gn/moz.build b/third_party/libwebrtc/call/video_stream_api_gn/moz.build
-index 926361a..12f7e80 100644
+index f8ead06..b8a376c 100644
--- a/third_party/libwebrtc/call/video_stream_api_gn/moz.build
+++ b/third_party/libwebrtc/call/video_stream_api_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -158940,7 +158586,7 @@ index 926361a..12f7e80 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -158948,11 +158594,13 @@ index 926361a..12f7e80 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -158963,44 +158611,38 @@ index 926361a..12f7e80 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159016,13 +158658,13 @@ index 926361a..12f7e80 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_stream_api_gn")
diff --git a/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
-index 7adcbbf3..01a3edc 100644
+index 66e9a29ea..f7168fd 100644
--- a/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159030,7 +158672,7 @@ index 7adcbbf3..01a3edc 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,25 +122,20 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159042,52 +158684,56 @@ index 7adcbbf3..01a3edc 100644
SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse_arm.S",
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S"
-@@ -142,10 +136,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+ ]
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
+
+- DEFINES["_FORTIFY_SOURCE"] = "2"
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_FORTIFY_SOURCE"] = "2"
--
- if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -170,6 +160,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -172,6 +166,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -179,13 +176,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -183,6 +185,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -191,4 +199,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159103,13 +158749,13 @@ index 7adcbbf3..01a3edc 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("common_audio_c_arm_asm_gn")
diff --git a/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
-index 8e471b3..17d8a0a 100644
+index eda1ed7..46259fe 100644
--- a/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
-@@ -121,7 +121,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -120,7 +120,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159117,7 +158763,7 @@ index 8e471b3..17d8a0a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -131,11 +130,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -130,11 +129,6 @@ if CONFIG["OS_TARGET"] == "Linux":
"rt"
]
@@ -159129,7 +158775,7 @@ index 8e471b3..17d8a0a 100644
if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_GLIB"] = "1"
-@@ -205,9 +199,11 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -204,9 +198,13 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159138,13 +158784,15 @@ index 8e471b3..17d8a0a 100644
- "unwind"
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
++
+ UNIFIED_SOURCES += [
+ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
+ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -218,10 +214,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -217,10 +215,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159155,7 +158803,20 @@ index 8e471b3..17d8a0a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -253,6 +245,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -248,6 +242,12 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
++ UNIFIED_SOURCES += [
++ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
++ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
++ ]
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+
+@@ -256,6 +256,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
@@ -159169,45 +158830,23 @@ index 8e471b3..17d8a0a 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CFLAGS += [
-@@ -278,6 +277,17 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -282,6 +289,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-+ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
-@@ -286,9 +296,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-+ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
-+ ]
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -294,4 +307,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-+ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159223,13 +158862,13 @@ index 8e471b3..17d8a0a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("common_audio_c_gn")
diff --git a/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-index 5475e35..054420f 100644
+index 92623b4..fa1bbb9 100644
--- a/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159237,7 +158876,7 @@ index 5475e35..054420f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159245,11 +158884,13 @@ index 5475e35..054420f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159260,44 +158901,38 @@ index 5475e35..054420f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159313,13 +158948,13 @@ index 5475e35..054420f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("common_audio_cc_gn")
diff --git a/third_party/libwebrtc/common_audio/common_audio_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-index e499c12..5c5f4ba 100644
+index 324c47f..bed5d6b 100644
--- a/third_party/libwebrtc/common_audio/common_audio_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-@@ -91,7 +91,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -90,7 +90,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159327,7 +158962,7 @@ index e499c12..5c5f4ba 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -160,11 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -159,10 +158,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159335,11 +158970,13 @@ index e499c12..5c5f4ba 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -172,10 +170,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159350,44 +158987,38 @@ index e499c12..5c5f4ba 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -201,6 +191,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -203,6 +197,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -214,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -218,6 +220,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -222,9 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -230,4 +238,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159403,13 +159034,13 @@ index e499c12..5c5f4ba 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("common_audio_gn")
diff --git a/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
-index 36ffd6ad..3a73dc20 100644
+index ce772d0..08aad3b 100644
--- a/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
-@@ -73,14 +73,12 @@ if CONFIG["OS_TARGET"] == "Darwin":
+@@ -73,13 +73,11 @@ if CONFIG["OS_TARGET"] == "Darwin":
if CONFIG["OS_TARGET"] == "Linux":
@@ -159419,12 +159050,11 @@ index 36ffd6ad..3a73dc20 100644
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
-@@ -137,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -136,11 +134,6 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
@@ -159436,7 +159066,15 @@ index 36ffd6ad..3a73dc20 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -174,4 +167,20 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -171,10 +164,24 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
++ DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_ARCH_ARM64"] = True
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_ARCH_ARM64"] = True
@@ -159447,21 +159085,17 @@ index 36ffd6ad..3a73dc20 100644
+ "unwind"
+ ]
+
-+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
-+
-+ DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_ARCH_ARM64"] = True
-+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+
Library("common_audio_neon_c_gn")
diff --git a/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-index ba1537f..eece93e 100644
+index 2d49b0f..3eb4db9 100644
--- a/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-@@ -72,14 +72,12 @@ if CONFIG["OS_TARGET"] == "Darwin":
+@@ -72,13 +72,11 @@ if CONFIG["OS_TARGET"] == "Darwin":
if CONFIG["OS_TARGET"] == "Linux":
@@ -159471,12 +159105,11 @@ index ba1537f..eece93e 100644
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
-@@ -136,11 +134,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,11 +133,6 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
@@ -159488,7 +159121,15 @@ index ba1537f..eece93e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,4 +166,20 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -170,10 +163,24 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
++ DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_ARCH_ARM64"] = True
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_ARCH_ARM64"] = True
@@ -159499,21 +159140,17 @@ index ba1537f..eece93e 100644
+ "unwind"
+ ]
+
-+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
-+
-+ DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_ARCH_ARM64"] = True
-+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+
Library("common_audio_neon_gn")
diff --git a/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build b/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-index e93b927..5e3c345 100644
+index 99b2b7c..dfab45b 100644
--- a/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159521,7 +159158,7 @@ index e93b927..5e3c345 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159529,11 +159166,13 @@ index e93b927..5e3c345 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159544,44 +159183,38 @@ index e93b927..5e3c345 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159597,13 +159230,13 @@ index e93b927..5e3c345 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fir_filter_factory_gn")
diff --git a/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build b/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
-index 1bb7ad1..62744b8 100644
+index 8bdacc3..ee16bda 100644
--- a/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159611,7 +159244,7 @@ index 1bb7ad1..62744b8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159619,11 +159252,13 @@ index 1bb7ad1..62744b8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159634,41 +159269,38 @@ index 1bb7ad1..62744b8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159684,13 +159316,13 @@ index 1bb7ad1..62744b8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fir_filter_gn")
diff --git a/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build b/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
-index e285755..f9e011e 100644
+index b03c7f0..a85e616 100644
--- a/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159698,7 +159330,7 @@ index e285755..f9e011e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -139,11 +138,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -138,10 +137,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159706,11 +159338,13 @@ index e285755..f9e011e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -152,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -151,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159721,41 +159355,38 @@ index e285755..f9e011e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -180,6 +170,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -182,6 +176,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -189,13 +186,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -193,6 +195,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,4 +209,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159771,13 +159402,13 @@ index e285755..f9e011e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("sinc_resampler_gn")
diff --git a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
-index 49d8183..893141c 100644
+index 6bb1ba6..ecbc878 100644
--- a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159785,7 +159416,7 @@ index 49d8183..893141c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -159,11 +158,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -158,15 +157,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159797,7 +159428,15 @@ index 49d8183..893141c 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
]
-@@ -182,10 +176,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
++
+ if CONFIG["CPU_ARCH"] == "x86":
+
+ UNIFIED_SOURCES += [
+@@ -181,10 +179,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159808,50 +159447,35 @@ index 49d8183..893141c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -210,6 +200,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -212,6 +206,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -244,6 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Darwin":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -248,6 +250,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -253,6 +256,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
-@@ -261,6 +265,7 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc"
-@@ -272,4 +277,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "WINNT":
+ CXXFLAGS += [
+@@ -275,4 +283,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "WINNT":
"/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc"
]
@@ -159873,10 +159497,10 @@ index 49d8183..893141c 100644
+
Library("fft_size_128_gn")
diff --git a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
-index b3213bf..d09d756 100644
+index e0ca59f..8a94ff2 100644
--- a/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159884,7 +159508,7 @@ index b3213bf..d09d756 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -159892,11 +159516,13 @@ index b3213bf..d09d756 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159907,44 +159533,38 @@ index b3213bf..d09d756 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -159960,13 +159580,13 @@ index b3213bf..d09d756 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fft_size_256_gn")
diff --git a/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build b/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
-index 6d037046..cab1cf2 100644
+index 9f48313..a60e7ec 100644
--- a/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
+++ b/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
-@@ -74,16 +74,11 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,16 +73,11 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -159983,7 +159603,7 @@ index 6d037046..cab1cf2 100644
if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_GLIB"] = "1"
-@@ -140,24 +135,21 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,24 +134,23 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160000,11 +159620,13 @@ index 6d037046..cab1cf2 100644
+if CONFIG["CPU_ARCH"] == "ppc64":
- DEFINES["_FORTIFY_SOURCE"] = "2"
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+ UNIFIED_SOURCES += [
+ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
+ ]
-
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160014,7 +159636,19 @@ index 6d037046..cab1cf2 100644
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +183,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -187,6 +181,11 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
++ UNIFIED_SOURCES += [
++ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
++ ]
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+
+@@ -194,6 +193,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
@@ -160028,42 +159662,23 @@ index 6d037046..cab1cf2 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CFLAGS += [
-@@ -214,6 +213,16 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -218,6 +224,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
-@@ -222,9 +231,35 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
-+ ]
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -230,4 +242,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160079,13 +159694,13 @@ index 6d037046..cab1cf2 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("spl_sqrt_floor_gn")
diff --git a/third_party/libwebrtc/common_video/common_video_gn/moz.build b/third_party/libwebrtc/common_video/common_video_gn/moz.build
-index 5d6a4ad..d41fcff 100644
+index 152f97b..851b52a 100644
--- a/third_party/libwebrtc/common_video/common_video_gn/moz.build
+++ b/third_party/libwebrtc/common_video/common_video_gn/moz.build
-@@ -92,7 +92,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -91,7 +91,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160093,7 +159708,7 @@ index 5d6a4ad..d41fcff 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -162,11 +161,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -161,10 +160,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160101,11 +159716,13 @@ index 5d6a4ad..d41fcff 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -175,10 +169,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -174,10 +172,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160116,44 +159733,38 @@ index 5d6a4ad..d41fcff 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -203,6 +193,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -205,6 +199,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -216,6 +213,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -220,6 +222,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -224,9 +227,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -232,4 +240,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160169,13 +159780,13 @@ index 5d6a4ad..d41fcff 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("common_video_gn")
diff --git a/third_party/libwebrtc/common_video/frame_counts_gn/moz.build b/third_party/libwebrtc/common_video/frame_counts_gn/moz.build
-index c339067..dd2bd3b 100644
+index c6862b1..2e86a4e 100644
--- a/third_party/libwebrtc/common_video/frame_counts_gn/moz.build
+++ b/third_party/libwebrtc/common_video/frame_counts_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160183,7 +159794,7 @@ index c339067..dd2bd3b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160191,11 +159802,13 @@ index c339067..dd2bd3b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160206,41 +159819,38 @@ index c339067..dd2bd3b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160256,13 +159866,13 @@ index c339067..dd2bd3b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frame_counts_gn")
diff --git a/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build b/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
-index 04b4959..3ff4f13 100644
+index 8c15eb22..8b2bb40 100644
--- a/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
+++ b/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160270,7 +159880,7 @@ index 04b4959..3ff4f13 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160278,11 +159888,13 @@ index 04b4959..3ff4f13 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160293,44 +159905,38 @@ index 04b4959..3ff4f13 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160346,13 +159952,13 @@ index 04b4959..3ff4f13 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("generic_frame_descriptor_gn")
diff --git a/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-index 7cd0d06..06d2d9d 100644
+index 01f3549..425e53ba 100644
--- a/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
+++ b/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160360,7 +159966,7 @@ index 7cd0d06..06d2d9d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -143,11 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -142,10 +141,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160368,11 +159974,13 @@ index 7cd0d06..06d2d9d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -156,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -155,10 +153,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160383,44 +159991,38 @@ index 7cd0d06..06d2d9d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -184,6 +174,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -186,6 +180,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -197,6 +194,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -205,9 +208,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -213,4 +221,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160436,13 +160038,13 @@ index 7cd0d06..06d2d9d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_audio_gn")
diff --git a/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-index 7902cec..43d43f3 100644
+index 113e741..cde4d3e 100644
--- a/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
+++ b/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160450,7 +160052,7 @@ index 7902cec..43d43f3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160458,11 +160060,13 @@ index 7902cec..43d43f3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160473,44 +160077,38 @@ index 7902cec..43d43f3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160526,13 +160124,13 @@ index 7902cec..43d43f3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_bwe_gn")
diff --git a/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-index 5ce1736..746e87e 100644
+index 1e218dd..b93a20b 100644
--- a/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
+++ b/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160540,7 +160138,7 @@ index 5ce1736..746e87e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160548,11 +160146,13 @@ index 5ce1736..746e87e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160563,44 +160163,38 @@ index 5ce1736..746e87e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160616,13 +160210,13 @@ index 5ce1736..746e87e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_pacing_gn")
diff --git a/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-index 87fa2c1..30ad82d 100644
+index f56cb55..f5424a2 100644
--- a/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
+++ b/third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160630,7 +160224,7 @@ index 87fa2c1..30ad82d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -152,11 +151,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -151,10 +150,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160638,11 +160232,13 @@ index 87fa2c1..30ad82d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -164,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160653,44 +160249,38 @@ index 87fa2c1..30ad82d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -193,6 +183,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -195,6 +189,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -206,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -210,6 +212,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -214,9 +217,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -222,4 +230,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160706,13 +160296,13 @@ index 87fa2c1..30ad82d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_rtp_rtcp_gn")
diff --git a/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-index 35bbf75..23b6586 100644
+index af6a960..c70bd64 100644
--- a/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
+++ b/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160720,7 +160310,7 @@ index 35bbf75..23b6586 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160728,11 +160318,13 @@ index 35bbf75..23b6586 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160743,44 +160335,38 @@ index 35bbf75..23b6586 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160796,13 +160382,13 @@ index 35bbf75..23b6586 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_video_gn")
diff --git a/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build b/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-index 6b35e5a..0c1b9dd 100644
+index 03221a6..95174dd 100644
--- a/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
+++ b/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160810,7 +160396,7 @@ index 6b35e5a..0c1b9dd 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160818,11 +160404,13 @@ index 6b35e5a..0c1b9dd 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160833,44 +160421,38 @@ index 6b35e5a..0c1b9dd 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160886,13 +160468,13 @@ index 6b35e5a..0c1b9dd 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_stream_config_gn")
diff --git a/third_party/libwebrtc/media/rtc_constants_gn/moz.build b/third_party/libwebrtc/media/rtc_constants_gn/moz.build
-index 78cddb0..86d7709 100644
+index d2bbd24..5ae934f 100644
--- a/third_party/libwebrtc/media/rtc_constants_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_constants_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160900,7 +160482,7 @@ index 78cddb0..86d7709 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160908,11 +160490,13 @@ index 78cddb0..86d7709 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160923,44 +160507,38 @@ index 78cddb0..86d7709 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -160976,13 +160554,13 @@ index 78cddb0..86d7709 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_constants_gn")
diff --git a/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build b/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build
-index 4f84ca1..4a883ff 100644
+index 262fc4d..3e9c7c3 100644
--- a/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_encoder_simulcast_proxy_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -160990,7 +160568,7 @@ index 4f84ca1..4a883ff 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -160998,11 +160576,13 @@ index 4f84ca1..4a883ff 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161013,44 +160593,38 @@ index 4f84ca1..4a883ff 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161066,13 +160640,13 @@ index 4f84ca1..4a883ff 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_encoder_simulcast_proxy_gn")
diff --git a/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build b/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build
-index 46b6a25..51030cb 100644
+index ff98756..47983d7 100644
--- a/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_h264_profile_id_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161080,7 +160654,7 @@ index 46b6a25..51030cb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161088,11 +160662,13 @@ index 46b6a25..51030cb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161103,44 +160679,38 @@ index 46b6a25..51030cb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161156,13 +160726,13 @@ index 46b6a25..51030cb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_h264_profile_id_gn")
diff --git a/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build b/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-index aff4370..e972266 100644
+index ff63c46..df954e8 100644
--- a/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161170,7 +160740,7 @@ index aff4370..e972266 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161178,11 +160748,13 @@ index aff4370..e972266 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161193,44 +160765,38 @@ index aff4370..e972266 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161246,13 +160812,13 @@ index aff4370..e972266 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_internal_video_codecs_gn")
diff --git a/third_party/libwebrtc/media/rtc_media_base_gn/moz.build b/third_party/libwebrtc/media/rtc_media_base_gn/moz.build
-index 7b0ac453..cfc75c3 100644
+index 91d7e89..d9b99a2 100644
--- a/third_party/libwebrtc/media/rtc_media_base_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_media_base_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161260,7 +160826,7 @@ index 7b0ac453..cfc75c3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161268,11 +160834,13 @@ index 7b0ac453..cfc75c3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161283,44 +160851,38 @@ index 7b0ac453..cfc75c3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161336,13 +160898,13 @@ index 7b0ac453..cfc75c3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_media_base_gn")
diff --git a/third_party/libwebrtc/media/rtc_media_config_gn/moz.build b/third_party/libwebrtc/media/rtc_media_config_gn/moz.build
-index e559dfd..ee2899b 100644
+index 71f2d96..0d5b2fd 100644
--- a/third_party/libwebrtc/media/rtc_media_config_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_media_config_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161350,7 +160912,7 @@ index e559dfd..ee2899b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161358,11 +160920,13 @@ index e559dfd..ee2899b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161373,41 +160937,38 @@ index e559dfd..ee2899b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161423,13 +160984,13 @@ index e559dfd..ee2899b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_media_config_gn")
diff --git a/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build b/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-index 266b11a..0b4389d 100644
+index 49e703a..bece614 100644
--- a/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161437,7 +160998,7 @@ index 266b11a..0b4389d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161445,11 +161006,13 @@ index 266b11a..0b4389d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161460,44 +161023,38 @@ index 266b11a..0b4389d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161513,13 +161070,13 @@ index 266b11a..0b4389d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_simulcast_encoder_adapter_gn")
diff --git a/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build b/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build
-index 52456dd..2adbcc7 100644
+index d8ddc3e..1826272 100644
--- a/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build
+++ b/third_party/libwebrtc/media/rtc_vp9_profile_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161527,7 +161084,7 @@ index 52456dd..2adbcc7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161535,11 +161092,13 @@ index 52456dd..2adbcc7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161550,44 +161109,38 @@ index 52456dd..2adbcc7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161603,13 +161156,13 @@ index 52456dd..2adbcc7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_vp9_profile_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-index 1f968a1..bf9db5d 100644
+index dcecd8d..c8d6484 100644
--- a/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161617,7 +161170,7 @@ index 1f968a1..bf9db5d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161625,11 +161178,13 @@ index 1f968a1..bf9db5d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161640,44 +161195,38 @@ index 1f968a1..bf9db5d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161693,13 +161242,13 @@ index 1f968a1..bf9db5d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_coding_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
-index 1c313a5..6722fa6 100644
+index aad35a21..32b0218 100644
--- a/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161707,7 +161256,7 @@ index 1c313a5..6722fa6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161715,11 +161264,13 @@ index 1c313a5..6722fa6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161730,41 +161281,38 @@ index 1c313a5..6722fa6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161780,13 +161328,13 @@ index 1c313a5..6722fa6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_coding_module_typedefs_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
-index bd7056c..a4d1f46 100644
+index 7110b83..00cfcd3 100644
--- a/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161794,7 +161342,7 @@ index bd7056c..a4d1f46 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161802,11 +161350,13 @@ index bd7056c..a4d1f46 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161817,44 +161367,38 @@ index bd7056c..a4d1f46 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161870,13 +161414,13 @@ index bd7056c..a4d1f46 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_coding_opus_common_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
-index 6fa0115..01c0590 100644
+index 2110ecf..235d758 100644
--- a/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161884,7 +161428,7 @@ index 6fa0115..01c0590 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161892,11 +161436,13 @@ index 6fa0115..01c0590 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161907,44 +161453,38 @@ index 6fa0115..01c0590 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161960,13 +161500,13 @@ index 6fa0115..01c0590 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_encoder_cng_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
-index b537062..708395e 100644
+index 88fe612..9c5347c 100644
--- a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -161974,7 +161514,7 @@ index b537062..708395e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -161982,11 +161522,13 @@ index b537062..708395e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -161997,44 +161539,38 @@ index b537062..708395e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162050,13 +161586,13 @@ index b537062..708395e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_network_adaptor_config_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
-index b389938..4fd2f62 100644
+index 226ff7d..0ce6587 100644
--- a/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
-@@ -88,7 +88,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -87,7 +87,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162064,7 +161600,7 @@ index b389938..4fd2f62 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -157,11 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -156,10 +155,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162072,11 +161608,13 @@ index b389938..4fd2f62 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -170,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -169,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162087,44 +161625,38 @@ index b389938..4fd2f62 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -198,6 +188,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -200,6 +194,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -211,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -215,6 +217,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -219,9 +222,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -227,4 +235,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162140,13 +161672,13 @@ index b389938..4fd2f62 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_network_adaptor_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
-index df061c6..62c3c16d 100644
+index cb4a1e0..4f378de 100644
--- a/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162154,7 +161686,7 @@ index df061c6..62c3c16d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162162,11 +161694,13 @@ index df061c6..62c3c16d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162177,44 +161711,38 @@ index df061c6..62c3c16d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162230,13 +161758,13 @@ index df061c6..62c3c16d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("default_neteq_factory_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
-index e0f07f2..8cff22c 100644
+index 52a3ff3..b72a219 100644
--- a/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162244,7 +161772,7 @@ index e0f07f2..8cff22c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162252,11 +161780,13 @@ index e0f07f2..8cff22c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162267,44 +161797,38 @@ index e0f07f2..8cff22c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162320,13 +161844,13 @@ index e0f07f2..8cff22c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("g711_c_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-index 3716ec4..d1088dba 100644
+index b578472..d7b714d 100644
--- a/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162334,7 +161858,7 @@ index 3716ec4..d1088dba 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162342,11 +161866,13 @@ index 3716ec4..d1088dba 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162357,44 +161883,38 @@ index 3716ec4..d1088dba 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162410,13 +161930,13 @@ index 3716ec4..d1088dba 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("g711_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
-index 8910ce7..d5a2030 100644
+index ddab215..c422a7b 100644
--- a/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162424,7 +161944,7 @@ index 8910ce7..d5a2030 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162432,11 +161952,13 @@ index 8910ce7..d5a2030 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162447,44 +161969,38 @@ index 8910ce7..d5a2030 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162500,13 +162016,13 @@ index 8910ce7..d5a2030 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("g722_c_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-index 71d1053..31dda4e6c 100644
+index 1443897..b291b79 100644
--- a/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162514,7 +162030,7 @@ index 71d1053..31dda4e6c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162522,11 +162038,13 @@ index 71d1053..31dda4e6c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162537,44 +162055,38 @@ index 71d1053..31dda4e6c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -195,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -199,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -203,9 +206,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -211,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162590,13 +162102,13 @@ index 71d1053..31dda4e6c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("g722_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
-index 165ab4b..83ff940 100644
+index 8a5b1d9..6c840b5 100644
--- a/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
-@@ -146,7 +146,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -145,7 +145,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162604,7 +162116,7 @@ index 165ab4b..83ff940 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -215,11 +214,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -214,10 +213,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162612,11 +162124,13 @@ index 165ab4b..83ff940 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -228,10 +222,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -227,10 +225,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162627,44 +162141,38 @@ index 165ab4b..83ff940 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -256,6 +246,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -258,6 +252,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -269,6 +266,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -273,6 +275,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -277,9 +280,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -285,4 +293,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162680,13 +162188,13 @@ index 165ab4b..83ff940 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("ilbc_c_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
-index e46ee84..7c95dbf 100644
+index 23ef08d..644859b 100644
--- a/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162694,7 +162202,7 @@ index e46ee84..7c95dbf 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162702,11 +162210,13 @@ index e46ee84..7c95dbf 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162717,44 +162227,38 @@ index e46ee84..7c95dbf 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162770,13 +162274,13 @@ index e46ee84..7c95dbf 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("ilbc_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
-index 538b0d2..d74a528 100644
+index 34b8f86..eacd612 100644
--- a/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162784,7 +162288,7 @@ index 538b0d2..d74a528 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162792,11 +162296,13 @@ index 538b0d2..d74a528 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162807,41 +162313,38 @@ index 538b0d2..d74a528 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162857,13 +162360,13 @@ index 538b0d2..d74a528 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("isac_bwinfo_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build
-index 43fb646..8663985 100644
+index acaca70..f463fb8 100644
--- a/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/isac_c_gn/moz.build
-@@ -100,7 +100,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -99,7 +99,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162871,36 +162374,38 @@ index 43fb646..8663985 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -168,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,15 +158,15 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["_FORTIFY_SOURCE"] = "2"
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
--
- DEFINES["_FORTIFY_SOURCE"] = "2"
--
- if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -209,6 +204,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -217,9 +213,23 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
+@@ -198,6 +197,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
+
+@@ -225,4 +225,16 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162912,13 +162417,13 @@ index 43fb646..8663985 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("isac_c_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build
-index b4ed48e..0fc11d7 100644
+index 0e8c1b1..4d00d2c 100644
--- a/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/isac_common_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -162926,7 +162431,7 @@ index b4ed48e..0fc11d7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -162934,11 +162439,13 @@ index b4ed48e..0fc11d7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162949,41 +162456,38 @@ index b4ed48e..0fc11d7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -162999,7 +162503,7 @@ index b4ed48e..0fc11d7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("isac_common_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_fix_c_arm_asm_gn/moz.build
index 5599f07..9d47487 100644
@@ -163266,10 +162770,10 @@ index 5a7b638..e8383c3 100644
+
Library("isac_fix_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build
-index 67f8362..c607ac8 100644
+index 92ff47ee..dd70c24 100644
--- a/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/isac_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163277,36 +162781,38 @@ index 67f8362..c607ac8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -138,15 +137,15 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["_FORTIFY_SOURCE"] = "2"
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
--
- DEFINES["_FORTIFY_SOURCE"] = "2"
--
- if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +183,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -196,9 +192,23 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
+@@ -177,6 +176,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
+
+@@ -204,4 +204,16 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163318,7 +162824,7 @@ index 67f8362..c607ac8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("isac_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_neon_gn/moz.build
index 3798420..a8ee826f 100644
@@ -163387,10 +162893,10 @@ index 3798420..a8ee826f 100644
+
Library("isac_neon_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
-index b7c99fd..8f90ad6 100644
+index 5c4369b..5c20fd1 100644
--- a/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
-@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -76,7 +76,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163398,7 +162904,7 @@ index b7c99fd..8f90ad6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -135,11 +134,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -134,10 +133,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163406,11 +162912,13 @@ index b7c99fd..8f90ad6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -148,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -147,10 +145,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163421,44 +162929,38 @@ index b7c99fd..8f90ad6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -176,6 +166,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -178,6 +172,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -189,6 +186,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -193,6 +195,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -197,9 +200,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -205,4 +213,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163474,13 +162976,13 @@ index b7c99fd..8f90ad6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("isac_vad_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
-index 16e35fa..282546d 100644
+index dc0db97..363cc0a 100644
--- a/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163488,7 +162990,7 @@ index 16e35fa..282546d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163496,11 +162998,13 @@ index 16e35fa..282546d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163511,44 +163015,38 @@ index 16e35fa..282546d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163564,13 +163062,13 @@ index 16e35fa..282546d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("legacy_encoded_audio_frame_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-index fb0747b..cacafb1 100644
+index 3ba33fe..a94862f 100644
--- a/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-@@ -110,7 +110,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -109,7 +109,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163578,7 +163076,7 @@ index fb0747b..cacafb1 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -179,11 +178,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -178,10 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163586,11 +163084,13 @@ index fb0747b..cacafb1 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,10 +186,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -191,10 +189,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163601,44 +163101,38 @@ index fb0747b..cacafb1 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -220,6 +210,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -222,6 +216,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -233,6 +230,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -237,6 +239,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -241,9 +244,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -249,4 +257,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163654,13 +163148,13 @@ index fb0747b..cacafb1 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("neteq_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
-index 24cda76..60b43b8 100644
+index c4f4cb3..a9c6500 100644
--- a/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163668,7 +163162,7 @@ index 24cda76..60b43b8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163676,11 +163170,13 @@ index 24cda76..60b43b8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163691,44 +163187,38 @@ index 24cda76..60b43b8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163744,13 +163234,13 @@ index 24cda76..60b43b8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pcm16b_c_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-index 621edd1..eda781b 100644
+index 2ab3bbb..038e15e 100644
--- a/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163758,7 +163248,7 @@ index 621edd1..eda781b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -142,11 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -141,10 +140,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163766,11 +163256,13 @@ index 621edd1..eda781b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -155,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -154,10 +152,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163781,44 +163273,38 @@ index 621edd1..eda781b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -183,6 +173,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -185,6 +179,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -196,6 +193,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -200,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -204,9 +207,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -212,4 +220,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163834,13 +163320,13 @@ index 621edd1..eda781b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pcm16b_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-index ff0cdea..8af7c50 100644
+index 7e1ba16..d0f7048 100644
--- a/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163848,7 +163334,7 @@ index ff0cdea..8af7c50 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163856,11 +163342,13 @@ index ff0cdea..8af7c50 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163871,44 +163359,38 @@ index ff0cdea..8af7c50 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163924,13 +163406,13 @@ index ff0cdea..8af7c50 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("red_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-index 8a5e2d6..5830c5a 100644
+index 0c16ac5..fd90008 100644
--- a/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -163938,7 +163420,7 @@ index 8a5e2d6..5830c5a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -163946,11 +163428,13 @@ index 8a5e2d6..5830c5a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -163961,44 +163445,38 @@ index 8a5e2d6..5830c5a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164014,16 +163492,16 @@ index 8a5e2d6..5830c5a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_cng_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-index 543f023..8a90160 100644
+index 3178c6c..e4ce05c 100644
--- a/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-@@ -81,11 +81,9 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,11 +80,9 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_CODEC_ISAC"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
@@ -164032,7 +163510,7 @@ index 543f023..8a90160 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +147,10 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_CODEC_ISACFX"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164042,11 +163520,12 @@ index 543f023..8a90160 100644
- ]
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -163,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164057,7 +163536,14 @@ index 543f023..8a90160 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +188,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -193,11 +187,20 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_CODEC_ISAC"] = True
++ DEFINES["_GNU_SOURCE"] = True
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_CODEC_ISAC"] = True
@@ -164071,33 +163557,23 @@ index 543f023..8a90160 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CXXFLAGS += [
-@@ -214,6 +214,13 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -218,6 +221,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -222,9 +229,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -230,4 +239,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164113,16 +163589,16 @@ index 543f023..8a90160 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_multiopus_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-index e831769..bc8037d 100644
+index 088333b..8a8b985 100644
--- a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-@@ -81,11 +81,9 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,11 +80,9 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_CODEC_ISAC"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
@@ -164131,7 +163607,7 @@ index e831769..bc8037d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -157,10 +155,9 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -156,10 +154,10 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_CODEC_ISACFX"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164141,11 +163617,12 @@ index e831769..bc8037d 100644
- ]
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -170,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -169,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164156,7 +163633,14 @@ index e831769..bc8037d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -202,6 +195,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -200,11 +194,20 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_CODEC_ISAC"] = True
++ DEFINES["_GNU_SOURCE"] = True
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_CODEC_ISAC"] = True
@@ -164170,33 +163654,23 @@ index e831769..bc8037d 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CXXFLAGS += [
-@@ -221,6 +221,13 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -225,6 +228,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -229,9 +236,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -237,4 +246,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164212,16 +163686,16 @@ index e831769..bc8037d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_opus_gn")
diff --git a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
-index fa94ad5..a1db279 100644
+index b831a6a..8c5608e 100644
--- a/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
-@@ -80,11 +80,9 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,11 +79,9 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_CODEC_ISAC"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
@@ -164230,7 +163704,7 @@ index fa94ad5..a1db279 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +146,10 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_CODEC_ISACFX"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164240,11 +163714,12 @@ index fa94ad5..a1db279 100644
- ]
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -162,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164255,7 +163730,14 @@ index fa94ad5..a1db279 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -194,6 +187,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -192,11 +186,20 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_CODEC_ISAC"] = True
++ DEFINES["_GNU_SOURCE"] = True
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_CODEC_ISAC"] = True
@@ -164269,33 +163751,23 @@ index fa94ad5..a1db279 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
CXXFLAGS += [
-@@ -213,6 +213,13 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -217,6 +220,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -221,9 +228,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -229,4 +238,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_CODEC_ISAC"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164311,13 +163783,13 @@ index fa94ad5..a1db279 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_opus_wrapper_gn")
diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build
-index 0680df2..d4047aa 100644
+index d9c5dd1..0823b23 100644
--- a/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_device/audio_device_api_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164325,7 +163797,7 @@ index 0680df2..d4047aa 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164333,11 +163805,13 @@ index 0680df2..d4047aa 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164348,41 +163822,38 @@ index 0680df2..d4047aa 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164398,13 +163869,13 @@ index 0680df2..d4047aa 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_device_api_gn")
diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build
-index 8e1e8c6..99fe511 100644
+index 01897b0..17afe69 100644
--- a/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_device/audio_device_buffer_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164412,7 +163883,7 @@ index 8e1e8c6..99fe511 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164420,11 +163891,13 @@ index 8e1e8c6..99fe511 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164435,44 +163908,38 @@ index 8e1e8c6..99fe511 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164488,13 +163955,13 @@ index 8e1e8c6..99fe511 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_device_buffer_gn")
diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build
-index a079f00..c949f260 100644
+index f6a575a..8ff3b4e 100644
--- a/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_device/audio_device_default_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164502,7 +163969,7 @@ index a079f00..c949f260 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164510,11 +163977,13 @@ index a079f00..c949f260 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164525,41 +163994,38 @@ index a079f00..c949f260 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164575,13 +164041,13 @@ index a079f00..c949f260 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_device_default_gn")
diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build
-index ff6ced9..978c3ee 100644
+index 9892042..027d1a3 100644
--- a/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_device/audio_device_generic_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164589,7 +164055,7 @@ index ff6ced9..978c3ee 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164597,11 +164063,13 @@ index ff6ced9..978c3ee 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164612,44 +164080,38 @@ index ff6ced9..978c3ee 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164665,13 +164127,13 @@ index ff6ced9..978c3ee 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_device_generic_gn")
diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
-index f57f39f..7a223b9 100644
+index 83c5a923..f0ac2ae 100644
--- a/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
-@@ -75,7 +75,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164679,7 +164141,7 @@ index f57f39f..7a223b9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -140,10 +139,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164687,11 +164149,13 @@ index f57f39f..7a223b9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -154,10 +148,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -153,10 +151,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164702,41 +164166,38 @@ index f57f39f..7a223b9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,6 +172,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -184,6 +178,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -191,13 +188,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -195,6 +197,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -203,4 +211,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164752,13 +164213,13 @@ index f57f39f..7a223b9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_device_gn")
diff --git a/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build b/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-index c679829..f3f773e 100644
+index 6073b50..054a7ca 100644
--- a/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164766,7 +164227,7 @@ index c679829..f3f773e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -152,11 +151,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -151,10 +150,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164774,11 +164235,13 @@ index c679829..f3f773e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -164,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164789,44 +164252,38 @@ index c679829..f3f773e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -193,6 +183,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -195,6 +189,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -206,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -210,6 +212,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -214,9 +217,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -222,4 +230,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164842,13 +164299,13 @@ index c679829..f3f773e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_device_impl_gn")
diff --git a/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build b/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
-index 6ef7c57..cd36813 100644
+index 8a309a3..cfa0f1f 100644
--- a/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164856,7 +164313,7 @@ index 6ef7c57..cd36813 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164864,11 +164321,13 @@ index 6ef7c57..cd36813 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164879,44 +164338,38 @@ index 6ef7c57..cd36813 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164932,13 +164385,13 @@ index 6ef7c57..cd36813 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_frame_manipulator_gn")
diff --git a/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build b/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
-index cf71519..0255ff5 100644
+index 70628ec..7239963 100644
--- a/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -164946,7 +164399,7 @@ index cf71519..0255ff5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -164954,11 +164407,13 @@ index cf71519..0255ff5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -164969,44 +164424,38 @@ index cf71519..0255ff5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165022,13 +164471,13 @@ index cf71519..0255ff5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_mixer_impl_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
-index b1898d5..950331d 100644
+index 8b5bcad..024203d 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165036,7 +164485,7 @@ index b1898d5..950331d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165044,11 +164493,13 @@ index b1898d5..950331d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165059,41 +164510,38 @@ index b1898d5..950331d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165109,13 +164557,13 @@ index b1898d5..950331d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("adaptive_fir_filter_erl_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
-index 249c41b..793a944d 100644
+index 55e74ef..0f4d01d 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165123,7 +164571,7 @@ index 249c41b..793a944d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -139,11 +138,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -138,10 +137,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165131,11 +164579,13 @@ index 249c41b..793a944d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -152,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -151,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165146,41 +164596,38 @@ index 249c41b..793a944d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -180,6 +170,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -182,6 +176,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -189,13 +186,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -193,6 +195,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,4 +209,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165196,13 +164643,13 @@ index 249c41b..793a944d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("adaptive_fir_filter_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
-index f4efbb9..40491ff 100644
+index b6be572..ea7dcf7 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165210,7 +164657,7 @@ index f4efbb9..40491ff 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165218,11 +164665,13 @@ index f4efbb9..40491ff 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165233,41 +164682,38 @@ index f4efbb9..40491ff 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165283,13 +164729,13 @@ index f4efbb9..40491ff 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec3_common_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
-index 5ccd7db..2191638 100644
+index ffcc1a5..dd84226 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165297,7 +164743,7 @@ index 5ccd7db..2191638 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -139,11 +138,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -138,10 +137,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165305,11 +164751,13 @@ index 5ccd7db..2191638 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -152,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -151,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165320,41 +164768,38 @@ index 5ccd7db..2191638 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -180,6 +170,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -182,6 +176,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -189,13 +186,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -193,6 +195,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,4 +209,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165370,13 +164815,13 @@ index 5ccd7db..2191638 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec3_fft_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-index a1dbc7c..5a2fb80 100644
+index 2550312..30f4f07 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-@@ -132,7 +132,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -131,7 +131,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165384,7 +164829,7 @@ index a1dbc7c..5a2fb80 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -201,11 +200,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -200,10 +199,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165392,11 +164837,13 @@ index a1dbc7c..5a2fb80 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -214,10 +208,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -213,10 +211,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165407,44 +164854,38 @@ index a1dbc7c..5a2fb80 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -242,6 +232,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -244,6 +238,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -255,6 +252,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -259,6 +261,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -263,9 +266,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -271,4 +279,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165460,13 +164901,13 @@ index a1dbc7c..5a2fb80 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec3_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
-index d55b326..e3f42f6 100644
+index 019c96b..94416ce 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165474,7 +164915,7 @@ index d55b326..e3f42f6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165482,11 +164923,13 @@ index d55b326..e3f42f6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165497,41 +164940,38 @@ index d55b326..e3f42f6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165547,13 +164987,13 @@ index d55b326..e3f42f6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fft_data_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
-index 33c5ef2..03f2b1d 100644
+index f23caeb..33db7d7 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165561,7 +165001,7 @@ index 33c5ef2..03f2b1d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165569,11 +165009,13 @@ index 33c5ef2..03f2b1d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165584,41 +165026,38 @@ index 33c5ef2..03f2b1d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165634,13 +165073,13 @@ index 33c5ef2..03f2b1d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("matched_filter_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
-index a2685d26..7a83f11 100644
+index 9ddf20b..0e228c22 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165648,7 +165087,7 @@ index a2685d26..7a83f11 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165656,11 +165095,13 @@ index a2685d26..7a83f11 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165671,41 +165112,38 @@ index a2685d26..7a83f11 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165721,13 +165159,13 @@ index a2685d26..7a83f11 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("render_buffer_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
-index 9e65da3..6a5fb11 100644
+index db1ef5a..a8c8741 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165735,7 +165173,7 @@ index 9e65da3..6a5fb11 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165743,11 +165181,13 @@ index 9e65da3..6a5fb11 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165758,41 +165198,38 @@ index 9e65da3..6a5fb11 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165808,13 +165245,13 @@ index 9e65da3..6a5fb11 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("vector_math_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
-index 452ea8e..ad23444 100644
+index c0b6f10e..86da2e6 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165822,7 +165259,7 @@ index 452ea8e..ad23444 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165830,11 +165267,13 @@ index 452ea8e..ad23444 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165845,41 +165284,38 @@ index 452ea8e..ad23444 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165895,13 +165331,13 @@ index 452ea8e..ad23444 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec_dump_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
-index 35e3329..7ec453e 100644
+index ed1734f..fde2b4b 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165909,7 +165345,7 @@ index 35e3329..7ec453e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -165917,11 +165353,13 @@ index 35e3329..7ec453e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165932,44 +165370,38 @@ index 35e3329..7ec453e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -165985,13 +165417,13 @@ index 35e3329..7ec453e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("null_aec_dump_factory_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
-index efc4513..c5eb2f1 100644
+index cd05718..f28da2e 100644
--- a/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -165999,7 +165431,7 @@ index efc4513..c5eb2f1 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166007,11 +165439,13 @@ index efc4513..c5eb2f1 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166022,44 +165456,38 @@ index efc4513..c5eb2f1 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166075,13 +165503,13 @@ index efc4513..c5eb2f1 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aec_dump_interface_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
-index 3efc2af..4276967 100644
+index d1ea6f2..60ca38b 100644
--- a/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166089,7 +165517,7 @@ index 3efc2af..4276967 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -153,11 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -152,24 +151,19 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166101,55 +165529,55 @@ index 3efc2af..4276967 100644
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc"
]
-@@ -170,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
+
+- DEFINES["_FORTIFY_SOURCE"] = "2"
++ DEFINES["USE_X11"] = "1"
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_FORTIFY_SOURCE"] = "2"
--
- if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -198,6 +188,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -200,6 +194,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -211,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -215,6 +217,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -219,9 +222,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -227,4 +235,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166165,13 +165593,13 @@ index 3efc2af..4276967 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aecm_core_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-index cb7f900..97300c5e 100644
+index 135b9b1..acb96d1 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166179,7 +165607,7 @@ index cb7f900..97300c5e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166187,11 +165615,13 @@ index cb7f900..97300c5e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166202,44 +165632,38 @@ index cb7f900..97300c5e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166255,13 +165679,13 @@ index cb7f900..97300c5e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("agc_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
-index 2a0e9bc..1f15d78 100644
+index 8309f00..602e596 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166269,7 +165693,7 @@ index 2a0e9bc..1f15d78 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166277,11 +165701,13 @@ index 2a0e9bc..1f15d78 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166292,41 +165718,38 @@ index 2a0e9bc..1f15d78 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166342,13 +165765,13 @@ index 2a0e9bc..1f15d78 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("gain_control_interface_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build
-index 6884319..9b07ab6 100644
+index 14100c5..40172d8 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc/gain_map_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166356,7 +165779,7 @@ index 6884319..9b07ab6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166364,11 +165787,13 @@ index 6884319..9b07ab6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166379,41 +165804,38 @@ index 6884319..9b07ab6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166429,13 +165851,13 @@ index 6884319..9b07ab6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("gain_map_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
-index 9cdc513..6ddb640 100644
+index b317c36..1ee19b0 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166443,7 +165865,7 @@ index 9cdc513..6ddb640 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166451,11 +165873,13 @@ index 9cdc513..6ddb640 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166466,44 +165890,38 @@ index 9cdc513..6ddb640 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166519,13 +165937,13 @@ index 9cdc513..6ddb640 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("legacy_agc_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
-index c4ba6d6..2f50bb4 100644
+index e642f47..e9835c0 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166533,7 +165951,7 @@ index c4ba6d6..2f50bb4 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166541,11 +165959,13 @@ index c4ba6d6..2f50bb4 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166556,44 +165976,38 @@ index c4ba6d6..2f50bb4 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166609,13 +166023,13 @@ index c4ba6d6..2f50bb4 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("level_estimation_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build
-index 873fc73..76bb19b 100644
+index 67be629..67d73b5 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166623,7 +166037,7 @@ index 873fc73..76bb19b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166631,11 +166045,13 @@ index 873fc73..76bb19b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166646,44 +166062,38 @@ index 873fc73..76bb19b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166699,13 +166109,13 @@ index 873fc73..76bb19b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("adaptive_digital_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
-index c082e8b..baa0a4f 100644
+index 78894c9..75492a1 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166713,7 +166123,7 @@ index c082e8b..baa0a4f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166721,11 +166131,13 @@ index c082e8b..baa0a4f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166736,44 +166148,38 @@ index c082e8b..baa0a4f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166789,13 +166195,13 @@ index c082e8b..baa0a4f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("biquad_filter_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
-index bb23646..524070d 100644
+index 95dad87c..10d4e0b 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166803,7 +166209,7 @@ index bb23646..524070d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166811,11 +166217,13 @@ index bb23646..524070d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166826,44 +166234,38 @@ index bb23646..524070d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166879,13 +166281,13 @@ index bb23646..524070d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("common_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
-index c2278b5..c21fa32 100644
+index b127a2f..ff73f5f 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166893,7 +166295,7 @@ index c2278b5..c21fa32 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166901,11 +166303,13 @@ index c2278b5..c21fa32 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166916,44 +166320,38 @@ index c2278b5..c21fa32 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -166969,13 +166367,13 @@ index c2278b5..c21fa32 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fixed_digital_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
-index 7cbfede..f7bc82d 100644
+index 30fe512c..7d8a877 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -166983,7 +166381,7 @@ index 7cbfede..f7bc82d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -166991,11 +166389,13 @@ index 7cbfede..f7bc82d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167006,44 +166406,38 @@ index 7cbfede..f7bc82d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167059,13 +166453,13 @@ index 7cbfede..f7bc82d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("gain_applier_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build
-index 6a681f6..2ed8995 100644
+index 0e8ad52..30afb09 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/level_estimation_agc_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167073,7 +166467,7 @@ index 6a681f6..2ed8995 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167081,11 +166475,13 @@ index 6a681f6..2ed8995 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167096,44 +166492,38 @@ index 6a681f6..2ed8995 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167149,13 +166539,13 @@ index 6a681f6..2ed8995 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("level_estimation_agc_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
-index af09244..fdb8a91 100644
+index d2c2370..5ae4f42 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167163,7 +166553,7 @@ index af09244..fdb8a91 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167171,11 +166561,13 @@ index af09244..fdb8a91 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167186,44 +166578,38 @@ index af09244..fdb8a91 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167239,13 +166625,13 @@ index af09244..fdb8a91 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("noise_level_estimator_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
-index b6cae79..fd0d3b7 100644
+index 247de8f..5cd13fe 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
-@@ -86,7 +86,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167253,7 +166639,7 @@ index b6cae79..fd0d3b7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -155,11 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -154,10 +153,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167261,11 +166647,13 @@ index b6cae79..fd0d3b7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -168,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -167,10 +165,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167276,44 +166664,38 @@ index b6cae79..fd0d3b7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -196,6 +186,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -198,6 +192,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -209,6 +206,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -213,6 +215,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -217,9 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -225,4 +233,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167329,13 +166711,13 @@ index b6cae79..fd0d3b7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rnn_vad_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build
-index d1b3bee..f2bb023 100644
+index 2570934..5427e76 100644
--- a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad_with_level_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167343,7 +166725,7 @@ index d1b3bee..f2bb023 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167351,11 +166733,13 @@ index d1b3bee..f2bb023 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167366,44 +166750,38 @@ index d1b3bee..f2bb023 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167419,13 +166797,13 @@ index d1b3bee..f2bb023 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rnn_vad_with_level_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
-index dfab8ef..35214a3 100644
+index 06ca8e5..77537fc 100644
--- a/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167433,7 +166811,7 @@ index dfab8ef..35214a3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167441,11 +166819,13 @@ index dfab8ef..35214a3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167456,44 +166836,38 @@ index dfab8ef..35214a3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167509,13 +166883,13 @@ index dfab8ef..35214a3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("api_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-index 833f449..5dbbb94 100644
+index 77a5d03..2ca08a2 100644
--- a/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167523,7 +166897,7 @@ index 833f449..5dbbb94 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167531,11 +166905,13 @@ index 833f449..5dbbb94 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167546,44 +166922,38 @@ index 833f449..5dbbb94 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167599,13 +166969,13 @@ index 833f449..5dbbb94 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("apm_logging_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-index ef50066..c33ba56 100644
+index 1838617..513d88d 100644
--- a/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167613,7 +166983,7 @@ index ef50066..c33ba56 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167621,11 +166991,13 @@ index ef50066..c33ba56 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167636,44 +167008,38 @@ index ef50066..c33ba56 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167689,13 +167055,13 @@ index ef50066..c33ba56 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_buffer_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
-index aa637aa..7ebfaf8 100644
+index 9d52cae..b447d7e 100644
--- a/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167703,7 +167069,7 @@ index aa637aa..7ebfaf8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167711,11 +167077,13 @@ index aa637aa..7ebfaf8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167726,44 +167094,38 @@ index aa637aa..7ebfaf8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167779,13 +167141,13 @@ index aa637aa..7ebfaf8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_frame_proxies_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
-index 4aface6..1bf81c0 100644
+index fb1d2af..b92f7f0 100644
--- a/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167793,7 +167155,7 @@ index 4aface6..1bf81c0 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167801,11 +167163,13 @@ index 4aface6..1bf81c0 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167816,41 +167180,38 @@ index 4aface6..1bf81c0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167866,13 +167227,13 @@ index 4aface6..1bf81c0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_frame_view_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-index f20b13b..8f0aed4 100644
+index 4a614f8..d990a97 100644
--- a/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-@@ -93,7 +93,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -92,7 +92,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167880,7 +167241,7 @@ index f20b13b..8f0aed4 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -162,11 +161,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -161,10 +160,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167888,11 +167249,13 @@ index f20b13b..8f0aed4 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -175,10 +169,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -174,10 +172,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167903,44 +167266,38 @@ index f20b13b..8f0aed4 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -203,6 +193,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -205,6 +199,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -216,6 +213,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -220,6 +222,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -224,9 +227,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -232,4 +240,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167956,13 +167313,13 @@ index f20b13b..8f0aed4 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_processing_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
-index 1eb1f12..5348285 100644
+index eae8a0c..407f427 100644
--- a/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -167970,7 +167327,7 @@ index 1eb1f12..5348285 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -167978,11 +167335,13 @@ index 1eb1f12..5348285 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -167993,44 +167352,38 @@ index 1eb1f12..5348285 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168046,13 +167399,13 @@ index 1eb1f12..5348285 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_processing_statistics_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build
-index efbaa99..ff22f28 100644
+index 7021d09..71585ff 100644
--- a/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/config_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168060,7 +167413,7 @@ index efbaa99..ff22f28 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168068,11 +167421,13 @@ index efbaa99..ff22f28 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168083,44 +167438,38 @@ index efbaa99..ff22f28 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168136,13 +167485,13 @@ index efbaa99..ff22f28 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("config_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
-index 698d52d..59a0f55 100644
+index dfb509e..4756328 100644
--- a/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168150,7 +167499,7 @@ index 698d52d..59a0f55 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168158,11 +167507,13 @@ index 698d52d..59a0f55 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168173,44 +167524,38 @@ index 698d52d..59a0f55 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168226,13 +167571,13 @@ index 698d52d..59a0f55 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("high_pass_filter_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-index e7b4bd6..44d1272 100644
+index e95b5ce..d91e6aa 100644
--- a/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-@@ -91,7 +91,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -90,7 +90,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168240,7 +167585,7 @@ index e7b4bd6..44d1272 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -160,11 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -159,10 +158,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168248,11 +167593,13 @@ index e7b4bd6..44d1272 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -172,10 +170,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168263,44 +167610,38 @@ index e7b4bd6..44d1272 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -201,6 +191,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -203,6 +197,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -214,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -218,6 +220,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -222,9 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -230,4 +238,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168316,13 +167657,13 @@ index e7b4bd6..44d1272 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("ns_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
-index aaaed22..823a8a7 100644
+index b211f2ab..5266de8 100644
--- a/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168330,7 +167671,7 @@ index aaaed22..823a8a7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168338,11 +167679,13 @@ index aaaed22..823a8a7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168353,44 +167696,38 @@ index aaaed22..823a8a7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168406,13 +167743,13 @@ index aaaed22..823a8a7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("optionally_built_submodule_creators_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
-index a65c04f..a44dcdb 100644
+index 9127f56..bc43c44 100644
--- a/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168420,7 +167757,7 @@ index a65c04f..a44dcdb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168428,11 +167765,13 @@ index a65c04f..a44dcdb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168443,44 +167782,38 @@ index a65c04f..a44dcdb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168496,13 +167829,13 @@ index a65c04f..a44dcdb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rms_level_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
-index e4fedef..f7ae065 100644
+index 0ace85d..4c03f21 100644
--- a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168510,7 +167843,7 @@ index e4fedef..f7ae065 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168518,11 +167851,13 @@ index e4fedef..f7ae065 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168533,41 +167868,38 @@ index e4fedef..f7ae065 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168583,13 +167915,13 @@ index e4fedef..f7ae065 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("transient_suppressor_api_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
-index e161f74..ec7e95b 100644
+index 003c63d..c30159f 100644
--- a/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168597,7 +167929,7 @@ index e161f74..ec7e95b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168605,11 +167937,13 @@ index e161f74..ec7e95b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168620,44 +167954,38 @@ index e161f74..ec7e95b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168673,13 +168001,13 @@ index e161f74..ec7e95b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("transient_suppressor_impl_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
-index b2589fa..8d3ed7e 100644
+index 286102f..05935cf 100644
--- a/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168687,7 +168015,7 @@ index b2589fa..8d3ed7e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168695,11 +168023,13 @@ index b2589fa..8d3ed7e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168710,44 +168040,38 @@ index b2589fa..8d3ed7e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168763,13 +168087,13 @@ index b2589fa..8d3ed7e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("cascaded_biquad_filter_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
-index cf2a4f0..547fe8c 100644
+index 07e648f..70507db 100644
--- a/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168777,7 +168101,7 @@ index cf2a4f0..547fe8c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -137,11 +136,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -136,10 +135,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168785,11 +168109,13 @@ index cf2a4f0..547fe8c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -150,10 +144,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -149,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168800,44 +168126,38 @@ index cf2a4f0..547fe8c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -178,6 +168,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -180,6 +174,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -191,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -195,6 +197,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -199,9 +202,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -207,4 +215,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168853,13 +168173,13 @@ index cf2a4f0..547fe8c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("legacy_delay_estimator_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
-index bd2401a..1570f94 100644
+index 1e7f442..c4751c5 100644
--- a/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168867,7 +168187,7 @@ index bd2401a..1570f94 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168875,11 +168195,13 @@ index bd2401a..1570f94 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168890,44 +168212,38 @@ index bd2401a..1570f94 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168943,13 +168259,13 @@ index bd2401a..1570f94 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pffft_wrapper_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
-index 06000cb..3adc1b0 100644
+index 259d7da..542ecc8 100644
--- a/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
-@@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -168957,7 +168273,7 @@ index 06000cb..3adc1b0 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -168965,11 +168281,13 @@ index 06000cb..3adc1b0 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -168980,44 +168298,38 @@ index 06000cb..3adc1b0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169033,13 +168345,13 @@ index 06000cb..3adc1b0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("vad_gn")
diff --git a/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build
-index bea08f1..9a08b93 100644
+index 52e5426..9b152c8 100644
--- a/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build
+++ b/third_party/libwebrtc/modules/audio_processing/voice_detection_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169047,7 +168359,7 @@ index bea08f1..9a08b93 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169055,11 +168367,13 @@ index bea08f1..9a08b93 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169070,44 +168384,38 @@ index bea08f1..9a08b93 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169123,13 +168431,13 @@ index bea08f1..9a08b93 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("voice_detection_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
-index 6b31661..2aa4732 100644
+index 7453ffc..de49c4e 100644
--- a/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169137,7 +168445,7 @@ index 6b31661..2aa4732 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169145,11 +168453,13 @@ index 6b31661..2aa4732 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169160,44 +168470,38 @@ index 6b31661..2aa4732 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169213,13 +168517,13 @@ index 6b31661..2aa4732 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("congestion_controller_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
-index d98d1f4..d128ca9 100644
+index 3925249..c4dab61 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169227,7 +168531,7 @@ index d98d1f4..d128ca9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169235,11 +168539,13 @@ index d98d1f4..d128ca9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169250,44 +168556,38 @@ index d98d1f4..d128ca9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169303,13 +168603,13 @@ index d98d1f4..d128ca9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("alr_detector_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
-index 9eabaa6..ab6d735 100644
+index 92ad696..fa7c17b 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169317,7 +168617,7 @@ index 9eabaa6..ab6d735 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169325,11 +168625,13 @@ index 9eabaa6..ab6d735 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169340,44 +168642,38 @@ index 9eabaa6..ab6d735 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169393,13 +168689,13 @@ index 9eabaa6..ab6d735 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("delay_based_bwe_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
-index 38da3f3..38e2e7c 100644
+index a2e363b..6e835b5 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
-@@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169407,7 +168703,7 @@ index 38da3f3..38e2e7c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -155,11 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -154,10 +153,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169415,11 +168711,13 @@ index 38da3f3..38e2e7c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -168,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -167,10 +165,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169430,44 +168728,38 @@ index 38da3f3..38e2e7c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -196,6 +186,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -198,6 +192,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -209,6 +206,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -213,6 +215,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -217,9 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -225,4 +233,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169483,13 +168775,13 @@ index 38da3f3..38e2e7c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("estimators_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
-index 526d42a..582b427 100644
+index 92f68e6..ead3ca4 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169497,7 +168789,7 @@ index 526d42a..582b427 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169505,11 +168797,13 @@ index 526d42a..582b427 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169520,44 +168814,38 @@ index 526d42a..582b427 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169573,13 +168861,13 @@ index 526d42a..582b427 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("goog_cc_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
-index a36d351..7879020 100644
+index e231ae1..5c2a35f 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169587,7 +168875,7 @@ index a36d351..7879020 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169595,11 +168883,13 @@ index a36d351..7879020 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169610,44 +168900,38 @@ index a36d351..7879020 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169663,13 +168947,13 @@ index a36d351..7879020 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("link_capacity_estimator_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build
-index 49fc53c..3223621 100644
+index b19ff07..bb824a1 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_controller_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169677,7 +168961,7 @@ index 49fc53c..3223621 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169685,11 +168969,13 @@ index 49fc53c..3223621 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169700,44 +168986,38 @@ index 49fc53c..3223621 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169753,13 +169033,13 @@ index 49fc53c..3223621 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("loss_based_controller_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
-index e065f6b..0972dfb 100644
+index aab8d27..8d39326 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169767,7 +169047,7 @@ index e065f6b..0972dfb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169775,11 +169055,13 @@ index e065f6b..0972dfb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169790,44 +169072,38 @@ index e065f6b..0972dfb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169843,13 +169119,13 @@ index e065f6b..0972dfb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("probe_controller_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
-index 1a26d6f..6e5a40a 100644
+index 9a211da..eca9363 100644
--- a/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169857,7 +169133,7 @@ index 1a26d6f..6e5a40a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169865,11 +169141,13 @@ index 1a26d6f..6e5a40a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169880,44 +169158,38 @@ index 1a26d6f..6e5a40a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169933,13 +169205,13 @@ index 1a26d6f..6e5a40a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pushback_controller_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
-index ec5aa36..0c9a12c 100644
+index 09738ce..739a3ca 100644
--- a/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -169947,7 +169219,7 @@ index ec5aa36..0c9a12c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -169955,11 +169227,13 @@ index ec5aa36..0c9a12c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -169970,44 +169244,38 @@ index ec5aa36..0c9a12c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170023,13 +169291,13 @@ index ec5aa36..0c9a12c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("control_handler_gn")
diff --git a/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
-index 9e1db4a..905dc8a 100644
+index 72c6c24..2ade524 100644
--- a/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
+++ b/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170037,7 +169305,7 @@ index 9e1db4a..905dc8a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170045,11 +169313,13 @@ index 9e1db4a..905dc8a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170060,44 +169330,38 @@ index 9e1db4a..905dc8a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170113,24 +169377,23 @@ index 9e1db4a..905dc8a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("transport_feedback_gn")
diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
-index 6176801..865c7e5 100644
+index d961d72..e9e0de7 100644
--- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
+++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
-@@ -95,10 +95,8 @@ if CONFIG["OS_TARGET"] == "Linux":
- DEFINES["USE_X11"] = "1"
+@@ -94,9 +94,7 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_UDEV"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["WEBRTC_USE_X11"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -106,9 +104,7 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -104,9 +102,7 @@ if CONFIG["OS_TARGET"] == "Linux":
LOCAL_INCLUDES += [
"/media/libyuv/libyuv/include/",
@@ -170141,8 +169404,8 @@ index 6176801..865c7e5 100644
]
OS_LIBS += [
-@@ -124,16 +120,10 @@ if CONFIG["OS_TARGET"] == "Linux":
- "Xtst"
+@@ -114,13 +110,7 @@ if CONFIG["OS_TARGET"] == "Linux":
+ "rt"
]
- SOURCES += [
@@ -170150,15 +169413,12 @@ index 6176801..865c7e5 100644
- ]
-
UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/mouse_cursor_monitor_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/shared_x_display.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/window_list_utils.cc",
-@@ -277,11 +267,40 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc"
+@@ -257,11 +247,92 @@ if CONFIG["CPU_ARCH"] == "aarch64":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170171,101 +169431,125 @@ index 6176801..865c7e5 100644
+ ]
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["MULTI_MONITOR_SCREENSHARE"] = True
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_ARCH_ARM"] = True
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = True
++ DEFINES["WEBRTC_USE_X11"] = True
+ DEFINES["_GNU_SOURCE"] = True
+
+ LOCAL_INCLUDES += [
+ "/third_party/pipewire/",
+ "/third_party/pipewire/"
+ ]
-
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++
++ OS_LIBS += [
++ "X11",
++ "Xcomposite",
++ "Xdamage",
++ "Xext",
++ "Xfixes",
++ "Xrandr",
++ "Xrender",
++ "Xtst"
++ ]
++
+ SOURCES += [
+ "/third_party/libwebrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc"
+ ]
+
+ UNIFIED_SOURCES += [
++ "/third_party/libwebrtc/modules/desktop_capture/linux/mouse_cursor_monitor_x11.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
++ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/shared_x_display.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_finder_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_list_utils.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_atom_cache.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_error_trap.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_server_pixel_buffer.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_window_property.cc"
+ ]
+
+if CONFIG["CPU_ARCH"] == "ppc64":
-+
-+ LOCAL_INCLUDES += [
-+ "/third_party/pipewire/"
-+ ]
-+
-+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
-
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -308,6 +327,22 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_USE_PIPEWIRE"] = True
-+ DEFINES["_GNU_SOURCE"] = True
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++ DEFINES["MULTI_MONITOR_SCREENSHARE"] = True
++ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_USE_X11"] = True
+
+ LOCAL_INCLUDES += [
-+ "/third_party/pipewire/",
+ "/third_party/pipewire/"
+ ]
+
-+ SOURCES += [
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc"
++ OS_LIBS += [
++ "X11",
++ "Xcomposite",
++ "Xdamage",
++ "Xext",
++ "Xfixes",
++ "Xrandr",
++ "Xrender",
++ "Xtst"
+ ]
+
+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
++ "/third_party/libwebrtc/modules/desktop_capture/linux/mouse_cursor_monitor_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/shared_x_display.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_finder_x11.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_list_utils.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_atom_cache.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_error_trap.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_server_pixel_buffer.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/x_window_property.cc"
+ ]
++
++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -316,9 +351,57 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
+@@ -288,7 +359,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = True
+ DEFINES["WEBRTC_USE_X11"] = True
+ DEFINES["_GNU_SOURCE"] = True
+
+ LOCAL_INCLUDES += [
+ "/third_party/pipewire/",
+ "/third_party/pipewire/"
+ ]
-+
-+ SOURCES += [
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc"
-+ ]
-+
-+ UNIFIED_SOURCES += [
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
-+ ]
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ OS_LIBS += [
+ "X11",
+@@ -301,10 +379,16 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ "Xtst"
+ ]
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["WEBRTC_USE_PIPEWIRE"] = True
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ LOCAL_INCLUDES += [
-+ "/third_party/pipewire/",
-+ "/third_party/pipewire/"
-+ ]
-+
+ SOURCES += [
+ "/third_party/libwebrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc"
+ ]
+
-+ UNIFIED_SOURCES += [
+ UNIFIED_SOURCES += [
+ "/third_party/libwebrtc/modules/desktop_capture/linux/mouse_cursor_monitor_x11.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
-+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
-+ ]
-+
+ "/third_party/libwebrtc/modules/desktop_capture/linux/screen_capturer_x11.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/linux/shared_x_display.cc",
++ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_capturer_x11.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_finder_x11.cc",
+ "/third_party/libwebrtc/modules/desktop_capture/linux/window_list_utils.cc",
+@@ -330,4 +414,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170281,21 +169565,21 @@ index 6176801..865c7e5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("desktop_capture_generic_gn")
diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-index 4cf85dd..b5ff10a 100644
+index 907ca40..e50a6f2 100644
--- a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
+++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-@@ -58,7 +58,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_USE_X11"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,15 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+@@ -130,11 +129,44 @@ if CONFIG["CPU_ARCH"] == "aarch64":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170304,32 +169588,57 @@ index 4cf85dd..b5ff10a 100644
- DEFINES["_FORTIFY_SOURCE"] = "2"
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_ARCH_ARM"] = True
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
++ DEFINES["WEBRTC_USE_X11"] = True
+ DEFINES["_GNU_SOURCE"] = True
++
++ OS_LIBS += [
++ "X11",
++ "Xcomposite",
++ "Xdamage",
++ "Xext",
++ "Xfixes",
++ "Xrandr",
++ "Xrender",
++ "Xtst"
++ ]
-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_USE_X11"] = True
++
++ OS_LIBS += [
++ "X11",
++ "Xcomposite",
++ "Xdamage",
++ "Xext",
++ "Xfixes",
++ "Xrandr",
++ "Xrender",
++ "Xtst"
++ ]
++
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -171,13 +174,32 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+@@ -162,6 +194,7 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_USE_X11"] = True
+ DEFINES["_GNU_SOURCE"] = True
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ OS_LIBS += [
+ "X11",
+@@ -186,4 +219,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170345,13 +169654,13 @@ index 4cf85dd..b5ff10a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("desktop_capture_gn")
diff --git a/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-index 6831d8a..e993813 100644
+index e8a79fe..6bfb8bc 100644
--- a/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
+++ b/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-@@ -65,7 +65,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -64,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170359,7 +169668,7 @@ index 6831d8a..e993813 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -113,11 +112,19 @@ if CONFIG["CPU_ARCH"] == "aarch64":
+@@ -112,11 +111,24 @@ if CONFIG["CPU_ARCH"] == "aarch64":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170370,37 +169679,35 @@ index 6831d8a..e993813 100644
+ CXXFLAGS += [
+ "-mfpu=neon"
+ ]
-+
+
+-if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["WEBRTC_ARCH_ARM"] = True
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
+ DEFINES["WEBRTC_HAS_NEON"] = True
+ DEFINES["_GNU_SOURCE"] = True
-
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
++
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
++
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -144,6 +151,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -143,6 +155,7 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
- DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
+ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
-@@ -152,9 +160,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -160,4 +173,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170416,13 +169723,13 @@ index 6831d8a..e993813 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("primitives_gn")
diff --git a/third_party/libwebrtc/modules/module_api_gn/moz.build b/third_party/libwebrtc/modules/module_api_gn/moz.build
-index 18dcb08..798bc3f 100644
+index a2abaf1..9654ecd 100644
--- a/third_party/libwebrtc/modules/module_api_gn/moz.build
+++ b/third_party/libwebrtc/modules/module_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170430,7 +169737,7 @@ index 18dcb08..798bc3f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170438,11 +169745,13 @@ index 18dcb08..798bc3f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170453,41 +169762,38 @@ index 18dcb08..798bc3f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170503,13 +169809,13 @@ index 18dcb08..798bc3f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("module_api_gn")
diff --git a/third_party/libwebrtc/modules/module_api_public_gn/moz.build b/third_party/libwebrtc/modules/module_api_public_gn/moz.build
-index 9e78659..52f761f 100644
+index 6a1bf3c..570ea3c 100644
--- a/third_party/libwebrtc/modules/module_api_public_gn/moz.build
+++ b/third_party/libwebrtc/modules/module_api_public_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170517,7 +169823,7 @@ index 9e78659..52f761f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170525,11 +169831,13 @@ index 9e78659..52f761f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170540,41 +169848,38 @@ index 9e78659..52f761f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170590,13 +169895,13 @@ index 9e78659..52f761f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("module_api_public_gn")
diff --git a/third_party/libwebrtc/modules/module_fec_api_gn/moz.build b/third_party/libwebrtc/modules/module_fec_api_gn/moz.build
-index 94c74fa..71a51b5 100644
+index 61c5a21..f7fa0a1 100644
--- a/third_party/libwebrtc/modules/module_fec_api_gn/moz.build
+++ b/third_party/libwebrtc/modules/module_fec_api_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170604,7 +169909,7 @@ index 94c74fa..71a51b5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170612,11 +169917,13 @@ index 94c74fa..71a51b5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170627,41 +169934,38 @@ index 94c74fa..71a51b5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170677,13 +169981,13 @@ index 94c74fa..71a51b5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("module_fec_api_gn")
diff --git a/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build b/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-index 303d47a..1d6f5f0 100644
+index 89348eb..77f1cb3 100644
--- a/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
+++ b/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170691,7 +169995,7 @@ index 303d47a..1d6f5f0 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170699,11 +170003,13 @@ index 303d47a..1d6f5f0 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170714,44 +170020,38 @@ index 303d47a..1d6f5f0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170767,13 +170067,13 @@ index 303d47a..1d6f5f0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("interval_budget_gn")
diff --git a/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build b/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-index f6fde08..a5e3fbe 100644
+index 234892d..b3491ca 100644
--- a/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
+++ b/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170781,7 +170081,7 @@ index f6fde08..a5e3fbe 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170789,11 +170089,13 @@ index f6fde08..a5e3fbe 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170804,44 +170106,38 @@ index f6fde08..a5e3fbe 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170857,13 +170153,13 @@ index f6fde08..a5e3fbe 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pacing_gn")
diff --git a/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build b/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
-index bca6684..ad115cf 100644
+index f951a17..66a87d8 100644
--- a/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
+++ b/third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
-@@ -90,7 +90,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -89,7 +89,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170871,7 +170167,7 @@ index bca6684..ad115cf 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -160,11 +159,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -159,10 +158,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170879,11 +170175,13 @@ index bca6684..ad115cf 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -172,10 +170,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170894,44 +170192,38 @@ index bca6684..ad115cf 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -201,6 +191,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -203,6 +197,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -214,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -218,6 +220,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -222,9 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -230,4 +238,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170947,13 +170239,13 @@ index bca6684..ad115cf 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("remote_bitrate_estimator_gn")
diff --git a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
-index a5ec9f4..7383eb5 100644
+index 372e200..4af7ee2 100644
--- a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
+++ b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
-@@ -120,7 +120,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -119,7 +119,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -170961,7 +170253,7 @@ index a5ec9f4..7383eb5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -190,11 +189,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -189,10 +188,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -170969,11 +170261,13 @@ index a5ec9f4..7383eb5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -203,10 +197,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -202,10 +200,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -170984,44 +170278,38 @@ index a5ec9f4..7383eb5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -231,6 +221,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -233,6 +227,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -244,6 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -248,6 +250,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -252,9 +255,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -260,4 +268,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171037,13 +170325,13 @@ index a5ec9f4..7383eb5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_rtcp_format_gn")
diff --git a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-index 33a43ee..b15d9bd 100644
+index d97fe1a..1dd62fd 100644
--- a/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
+++ b/third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-@@ -132,7 +132,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -131,7 +131,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171051,7 +170339,7 @@ index 33a43ee..b15d9bd 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -202,11 +201,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -201,10 +200,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171059,11 +170347,13 @@ index 33a43ee..b15d9bd 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -215,10 +209,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -214,10 +212,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171074,44 +170364,38 @@ index 33a43ee..b15d9bd 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -243,6 +233,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -245,6 +239,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -256,6 +253,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -260,6 +262,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -264,9 +267,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -272,4 +280,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171127,13 +170411,13 @@ index 33a43ee..b15d9bd 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_rtcp_gn")
diff --git a/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
-index aee6269..f29e025 100644
+index 0b89fbc..9209656 100644
--- a/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
+++ b/third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171141,7 +170425,7 @@ index aee6269..f29e025 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171149,11 +170433,13 @@ index aee6269..f29e025 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171164,44 +170450,38 @@ index aee6269..f29e025 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171217,13 +170497,13 @@ index aee6269..f29e025 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_video_header_gn")
diff --git a/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build b/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
-index 60e216f..875ba0f 100644
+index 93a8a08..13e9c0d 100644
--- a/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
+++ b/third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171231,7 +170511,7 @@ index 60e216f..875ba0f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171239,11 +170519,13 @@ index 60e216f..875ba0f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171254,44 +170536,38 @@ index 60e216f..875ba0f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171307,13 +170583,13 @@ index 60e216f..875ba0f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("fft_gn")
diff --git a/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build b/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
-index 4004c613..67610e7 100644
+index b23c15b..8948c92 100644
--- a/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
+++ b/third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171321,7 +170597,7 @@ index 4004c613..67610e7 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171329,11 +170605,13 @@ index 4004c613..67610e7 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171344,44 +170622,38 @@ index 4004c613..67610e7 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171397,13 +170669,13 @@ index 4004c613..67610e7 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("g711_3p_gn")
diff --git a/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build b/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
-index 03a10df..dbfe2df 100644
+index c5b117b5..10c117e 100644
--- a/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
+++ b/third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171411,7 +170683,7 @@ index 03a10df..dbfe2df 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171419,11 +170691,13 @@ index 03a10df..dbfe2df 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171434,44 +170708,38 @@ index 03a10df..dbfe2df 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171487,13 +170755,13 @@ index 03a10df..dbfe2df 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("g722_3p_gn")
diff --git a/third_party/libwebrtc/modules/utility/utility_gn/moz.build b/third_party/libwebrtc/modules/utility/utility_gn/moz.build
-index e0b16b4..ac78e17 100644
+index 9e0a677..d2aa57f 100644
--- a/third_party/libwebrtc/modules/utility/utility_gn/moz.build
+++ b/third_party/libwebrtc/modules/utility/utility_gn/moz.build
-@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171501,7 +170769,7 @@ index e0b16b4..ac78e17 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -152,11 +151,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -151,10 +150,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171509,11 +170777,13 @@ index e0b16b4..ac78e17 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -164,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171524,44 +170794,38 @@ index e0b16b4..ac78e17 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -193,6 +183,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -195,6 +189,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -206,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -210,6 +212,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -214,9 +217,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -222,4 +230,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171577,13 +170841,13 @@ index e0b16b4..ac78e17 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("utility_gn")
diff --git a/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build b/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
-index 3b4e237..4a347d8 100644
+index 20e72b7..4a03baa 100644
--- a/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
-@@ -75,7 +75,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171591,7 +170855,7 @@ index 3b4e237..4a347d8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -166,11 +165,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -165,10 +164,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171599,11 +170863,13 @@ index 3b4e237..4a347d8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -179,10 +173,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -178,10 +176,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171614,26 +170880,25 @@ index 3b4e237..4a347d8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -207,6 +197,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -209,6 +203,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -216,6 +213,16 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -220,6 +222,16 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ CXXFLAGS += [
@@ -171641,21 +170906,16 @@ index 3b4e237..4a347d8 100644
+ ]
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -224,9 +231,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -232,4 +244,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171671,13 +170931,13 @@ index 3b4e237..4a347d8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_capture_internal_impl_gn")
diff --git a/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build b/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
-index 86bc0e2..ad4005c 100644
+index 41d226e..207ffa6 100644
--- a/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
-@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171685,7 +170945,7 @@ index 86bc0e2..ad4005c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -153,11 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -152,10 +151,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171693,11 +170953,13 @@ index 86bc0e2..ad4005c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -166,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -165,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171708,44 +170970,38 @@ index 86bc0e2..ad4005c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -194,6 +184,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -196,6 +190,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -207,6 +204,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -211,6 +213,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -215,9 +218,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -223,4 +231,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171761,13 +171017,13 @@ index 86bc0e2..ad4005c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_capture_module_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
-index 8519e21..acfd896 100644
+index f00a166..4c51fd1 100644
--- a/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171775,7 +171031,7 @@ index 8519e21..acfd896 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171783,11 +171039,13 @@ index 8519e21..acfd896 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171798,44 +171056,38 @@ index 8519e21..acfd896 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171851,13 +171103,13 @@ index 8519e21..acfd896 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("chain_diff_calculator_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
-index 5f42fd5..dcee16b 100644
+index eda333f..0511ce0 100644
--- a/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171865,7 +171117,7 @@ index 5f42fd5..dcee16b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171873,11 +171125,13 @@ index 5f42fd5..dcee16b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171888,41 +171142,38 @@ index 5f42fd5..dcee16b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171938,13 +171189,13 @@ index 5f42fd5..dcee16b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("codec_globals_headers_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build
-index 69874c5..f86b3ea 100644
+index 7cd86c8..69e4826 100644
--- a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_decoder_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -171952,7 +171203,7 @@ index 69874c5..f86b3ea 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -171960,11 +171211,13 @@ index 69874c5..f86b3ea 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -171975,44 +171228,38 @@ index 69874c5..f86b3ea 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172028,13 +171275,13 @@ index 69874c5..f86b3ea 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aom_av1_decoder_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
-index f6af051..3122185 100644
+index de3dc8f..ac13a36 100644
--- a/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172042,7 +171289,7 @@ index f6af051..3122185 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172050,11 +171297,13 @@ index f6af051..3122185 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172065,44 +171314,38 @@ index f6af051..3122185 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172118,13 +171361,13 @@ index f6af051..3122185 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aom_av1_encoder_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build b/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build
-index 4ed27aa..7942afb 100644
+index 65a4bea..f280957 100644
--- a/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/deprecated/nack_module_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172132,7 +171375,7 @@ index 4ed27aa..7942afb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172140,11 +171383,13 @@ index 4ed27aa..7942afb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172155,44 +171400,38 @@ index 4ed27aa..7942afb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172208,13 +171447,13 @@ index 4ed27aa..7942afb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("nack_module_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build b/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-index d8d1780..81e874c 100644
+index 33961ea..84c3be8 100644
--- a/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172222,7 +171461,7 @@ index d8d1780..81e874c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172230,11 +171469,13 @@ index d8d1780..81e874c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172245,44 +171486,38 @@ index d8d1780..81e874c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172298,13 +171533,13 @@ index d8d1780..81e874c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("encoded_frame_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
-index 8b09cfc..a6d322f 100644
+index a8399ff..6f30b31 100644
--- a/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172312,7 +171547,7 @@ index 8b09cfc..a6d322f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172320,11 +171555,13 @@ index 8b09cfc..a6d322f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172335,44 +171572,38 @@ index 8b09cfc..a6d322f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172388,13 +171619,13 @@ index 8b09cfc..a6d322f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frame_dependencies_calculator_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build b/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build
-index d6059d5..29f2d1d 100644
+index da2cf84..c417340 100644
--- a/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/nack_module_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172402,7 +171633,7 @@ index d6059d5..29f2d1d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -147,10 +146,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172410,11 +171641,13 @@ index d6059d5..29f2d1d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -161,10 +155,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -160,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172425,44 +171658,38 @@ index d6059d5..29f2d1d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -189,6 +179,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -191,6 +185,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -202,6 +199,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -206,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -210,9 +213,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -218,4 +226,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172478,13 +171705,13 @@ index d6059d5..29f2d1d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("nack_module_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build b/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
-index e073ac2..f712c71 100644
+index bf46bf7..afc063a 100644
--- a/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172492,7 +171719,7 @@ index e073ac2..f712c71 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172500,11 +171727,13 @@ index e073ac2..f712c71 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172515,44 +171744,38 @@ index e073ac2..f712c71 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172568,13 +171791,13 @@ index e073ac2..f712c71 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_codec_interface_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build b/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-index 8c0f150..794bb7d 100644
+index abffb20..bc9e4fe 100644
--- a/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-@@ -99,7 +99,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -98,7 +98,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172582,7 +171805,7 @@ index 8c0f150..794bb7d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -169,11 +168,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -168,10 +167,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172590,11 +171813,13 @@ index 8c0f150..794bb7d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -182,10 +176,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -181,10 +179,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172605,44 +171830,38 @@ index 8c0f150..794bb7d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -210,6 +200,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -212,6 +206,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -223,6 +220,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -227,6 +229,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -231,9 +234,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -239,4 +247,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172658,13 +171877,13 @@ index 8c0f150..794bb7d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_coding_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build b/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
-index b6e4b92..5c07edc 100644
+index 7b3f217..9a17c12 100644
--- a/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
-@@ -88,7 +88,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -87,7 +87,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172672,7 +171891,7 @@ index b6e4b92..5c07edc 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -158,11 +157,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -157,10 +156,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172680,11 +171899,13 @@ index b6e4b92..5c07edc 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -171,10 +165,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -170,10 +168,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172695,44 +171916,38 @@ index b6e4b92..5c07edc 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -199,6 +189,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -201,6 +195,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -212,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -216,6 +218,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -220,9 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -228,4 +236,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172748,13 +171963,13 @@ index b6e4b92..5c07edc 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_coding_utility_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-index 2dced7c..5d28b23 100644
+index 58b4a05..3b7b24d 100644
--- a/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172762,7 +171977,7 @@ index 2dced7c..5d28b23 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172770,11 +171985,13 @@ index 2dced7c..5d28b23 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172785,44 +172002,38 @@ index 2dced7c..5d28b23 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172838,13 +172049,13 @@ index 2dced7c..5d28b23 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_h264_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build
-index 35b41b3..d1758df 100644
+index 36822ab..9c7b69ae 100644
--- a/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/webrtc_multiplex_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172852,7 +172063,7 @@ index 35b41b3..d1758df 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -152,11 +151,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -151,10 +150,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172860,11 +172071,13 @@ index 35b41b3..d1758df 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -164,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172875,44 +172088,38 @@ index 35b41b3..d1758df 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -193,6 +183,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -195,6 +189,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -206,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -210,6 +212,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -214,9 +217,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -222,4 +230,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172928,13 +172135,13 @@ index 35b41b3..d1758df 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_multiplex_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-index 2315a41..3dfa2da 100644
+index c00b386..430fffb 100644
--- a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -172942,7 +172149,7 @@ index 2315a41..3dfa2da 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -153,11 +152,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -152,10 +151,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -172950,11 +172157,13 @@ index 2315a41..3dfa2da 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -166,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -165,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -172965,44 +172174,38 @@ index 2315a41..3dfa2da 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -194,6 +184,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -196,6 +190,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -207,6 +204,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -211,6 +213,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -215,9 +218,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -223,4 +231,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173018,13 +172221,13 @@ index 2315a41..3dfa2da 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_vp8_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
-index 4eef28d..c244ac5 100644
+index a4da010..2749e96 100644
--- a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173032,7 +172235,7 @@ index 4eef28d..c244ac5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173040,11 +172243,13 @@ index 4eef28d..c244ac5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173055,44 +172260,38 @@ index 4eef28d..c244ac5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173108,13 +172307,13 @@ index 4eef28d..c244ac5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_vp8_temporal_layers_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-index cd75be3..38c3f6c 100644
+index 62ca970..aff3b6c 100644
--- a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173122,7 +172321,7 @@ index cd75be3..38c3f6c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -150,10 +149,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173130,11 +172329,13 @@ index cd75be3..38c3f6c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -164,10 +158,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -163,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173145,44 +172346,38 @@ index cd75be3..38c3f6c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -192,6 +182,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -194,6 +188,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -205,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -209,6 +211,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -213,9 +216,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -221,4 +229,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173198,13 +172393,13 @@ index cd75be3..38c3f6c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_vp9_gn")
diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
-index 4b0b804..90c9ddb 100644
+index 34e8ff9..5b61d04 100644
--- a/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173212,7 +172407,7 @@ index 4b0b804..90c9ddb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -149,10 +148,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173220,11 +172415,13 @@ index 4b0b804..90c9ddb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -163,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -162,10 +160,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173235,44 +172432,38 @@ index 4b0b804..90c9ddb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,6 +181,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -193,6 +187,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -204,6 +201,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -208,6 +210,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -212,9 +215,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -220,4 +228,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173288,13 +172479,13 @@ index 4b0b804..90c9ddb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_vp9_helpers_gn")
diff --git a/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build b/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build
-index 7407051e..d31e40d 100644
+index a38b65d..851c941 100644
--- a/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_processing/denoiser_filter_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173302,7 +172493,7 @@ index 7407051e..d31e40d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173310,11 +172501,13 @@ index 7407051e..d31e40d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173325,41 +172518,38 @@ index 7407051e..d31e40d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173375,13 +172565,13 @@ index 7407051e..d31e40d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("denoiser_filter_gn")
diff --git a/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build b/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build
-index f7b210e..8183a2a 100644
+index 057946c..ecabb72 100644
--- a/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_processing/video_processing_gn/moz.build
-@@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173389,7 +172579,7 @@ index f7b210e..8183a2a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -155,11 +154,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -154,10 +153,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173397,11 +172587,13 @@ index f7b210e..8183a2a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -168,10 +162,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -167,10 +165,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173412,44 +172604,38 @@ index f7b210e..8183a2a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -196,6 +186,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -198,6 +192,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -209,6 +206,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -213,6 +215,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -217,9 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -225,4 +233,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173465,13 +172651,13 @@ index f7b210e..8183a2a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_processing_gn")
diff --git a/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build b/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build
-index 476e28a..4a070d6 100644
+index 1a636b1..96bf9fe 100644
--- a/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build
+++ b/third_party/libwebrtc/modules/video_processing/video_processing_neon_gn/moz.build
-@@ -67,14 +67,12 @@ if CONFIG["OS_TARGET"] == "Darwin":
+@@ -67,13 +67,11 @@ if CONFIG["OS_TARGET"] == "Darwin":
if CONFIG["OS_TARGET"] == "Linux":
@@ -173481,12 +172667,11 @@ index 476e28a..4a070d6 100644
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
-@@ -120,11 +118,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -119,11 +117,6 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
@@ -173498,7 +172683,15 @@ index 476e28a..4a070d6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -157,4 +150,20 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
+@@ -154,10 +147,24 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
++ DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
+ DEFINES["USE_X11"] = "1"
++ DEFINES["WEBRTC_ARCH_ARM64"] = True
+
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DEFINES["WEBRTC_ARCH_ARM64"] = True
@@ -173509,14 +172702,10 @@ index 476e28a..4a070d6 100644
+ "unwind"
+ ]
+
-+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
-+
-+ DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["WEBRTC_ARCH_ARM64"] = True
-+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+
Library("video_processing_neon_gn")
diff --git a/third_party/libwebrtc/moz.build b/third_party/libwebrtc/moz.build
@@ -173598,10 +172787,10 @@ index 1131355..01086f1 100644
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
"/third_party/libwebrtc/modules/video_processing/video_processing_sse2_gn"
diff --git a/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build b/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build
-index e81ee452..970aa26 100644
+index 81485b9..d3cc01a 100644
--- a/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/atomicops_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173609,7 +172798,7 @@ index e81ee452..970aa26 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173617,11 +172806,13 @@ index e81ee452..970aa26 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173632,41 +172823,38 @@ index e81ee452..970aa26 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173682,13 +172870,13 @@ index e81ee452..970aa26 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("atomicops_gn")
diff --git a/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build b/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-index 1562c0c1..460d0d5 100644
+index a99662e..abab3a3 100644
--- a/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173696,7 +172884,7 @@ index 1562c0c1..460d0d5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173704,11 +172892,13 @@ index 1562c0c1..460d0d5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173719,44 +172909,38 @@ index 1562c0c1..460d0d5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173772,13 +172956,13 @@ index 1562c0c1..460d0d5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("audio_format_to_string_gn")
diff --git a/third_party/libwebrtc/rtc_base/checks_gn/moz.build b/third_party/libwebrtc/rtc_base/checks_gn/moz.build
-index cd0f53f..556e68e 100644
+index 1cb5865..8be49d3 100644
--- a/third_party/libwebrtc/rtc_base/checks_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/checks_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173786,7 +172970,7 @@ index cd0f53f..556e68e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173794,11 +172978,13 @@ index cd0f53f..556e68e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173809,44 +172995,38 @@ index cd0f53f..556e68e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173862,13 +173042,13 @@ index cd0f53f..556e68e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("checks_gn")
diff --git a/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build b/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
-index 6d4c494..ce56b1b 100644
+index 477b4cd..c6385bb 100644
--- a/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173876,7 +173056,7 @@ index 6d4c494..ce56b1b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173884,11 +173064,13 @@ index 6d4c494..ce56b1b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173899,41 +173081,38 @@ index 6d4c494..ce56b1b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173949,13 +173128,13 @@ index 6d4c494..ce56b1b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("compile_assert_c_gn")
diff --git a/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build b/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-index 4da8d78..ab71ba6 100644
+index 4e41cad..b55e165 100644
--- a/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -173963,7 +173142,7 @@ index 4da8d78..ab71ba6 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -173971,11 +173150,13 @@ index 4da8d78..ab71ba6 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -173986,44 +173167,38 @@ index 4da8d78..ab71ba6 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174039,13 +173214,13 @@ index 4da8d78..ab71ba6 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("criticalsection_gn")
diff --git a/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build b/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build
-index e270de4..ee4b5d0 100644
+index 1e962a5..d69e490 100644
--- a/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/deprecation_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174053,7 +173228,7 @@ index e270de4..ee4b5d0 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174061,11 +173236,13 @@ index e270de4..ee4b5d0 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174076,41 +173253,38 @@ index e270de4..ee4b5d0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174126,13 +173300,13 @@ index e270de4..ee4b5d0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("deprecation_gn")
diff --git a/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build b/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-index 0fcf9b2..0dc0d18 100644
+index 4c8e3cc..159217b 100644
--- a/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174140,7 +173314,7 @@ index 0fcf9b2..0dc0d18 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174148,11 +173322,13 @@ index 0fcf9b2..0dc0d18 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174163,41 +173339,38 @@ index 0fcf9b2..0dc0d18 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174213,13 +173386,13 @@ index 0fcf9b2..0dc0d18 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("divide_round_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
-index 82b2d0f..219e035 100644
+index fdd974d..1f6cf8ad 100644
--- a/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174227,7 +173400,7 @@ index 82b2d0f..219e035 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174235,11 +173408,13 @@ index 82b2d0f..219e035 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174250,44 +173425,38 @@ index 82b2d0f..219e035 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174303,13 +173472,13 @@ index 82b2d0f..219e035 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("alr_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
-index 5d3674f..3e3358d 100644
+index a7e0a62..7aa0cd1 100644
--- a/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174317,7 +173486,7 @@ index 5d3674f..3e3358d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174325,11 +173494,13 @@ index 5d3674f..3e3358d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174340,44 +173511,38 @@ index 5d3674f..3e3358d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174393,13 +173558,13 @@ index 5d3674f..3e3358d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("balanced_degradation_settings_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
-index 09a8a30..951f171 100644
+index ed7d31a..b38a466 100644
--- a/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174407,7 +173572,7 @@ index 09a8a30..951f171 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174415,11 +173580,13 @@ index 09a8a30..951f171 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174430,44 +173597,38 @@ index 09a8a30..951f171 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174483,13 +173644,13 @@ index 09a8a30..951f171 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("cpu_speed_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
-index 9affe97..a7a153c 100644
+index e1d9af9..1fe5fd12 100644
--- a/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
-@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174497,7 +173658,7 @@ index 9affe97..a7a153c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -143,11 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -142,10 +141,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174505,11 +173666,13 @@ index 9affe97..a7a153c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -156,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -155,10 +153,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174520,44 +173683,38 @@ index 9affe97..a7a153c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -184,6 +174,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -186,6 +180,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -197,6 +194,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -201,6 +203,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -205,9 +208,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -213,4 +221,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174573,13 +173730,13 @@ index 9affe97..a7a153c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("field_trial_parser_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build
-index 6f0e85b..482f177 100644
+index dfdb4f2..be1d3dc 100644
--- a/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/jitter_upper_bound_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174587,7 +173744,7 @@ index 6f0e85b..482f177 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174595,11 +173752,13 @@ index 6f0e85b..482f177 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174610,44 +173769,38 @@ index 6f0e85b..482f177 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174663,13 +173816,13 @@ index 6f0e85b..482f177 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("jitter_upper_bound_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
-index d1321d6..290a3ac 100644
+index 5ddcd33..6ab1937 100644
--- a/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174677,7 +173830,7 @@ index d1321d6..290a3ac 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174685,11 +173838,13 @@ index d1321d6..290a3ac 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174700,44 +173855,38 @@ index d1321d6..290a3ac 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174753,13 +173902,13 @@ index d1321d6..290a3ac 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("keyframe_interval_settings_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
-index 9c23102..db81f93 100644
+index 5ab2659..3d773a4 100644
--- a/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174767,7 +173916,7 @@ index 9c23102..db81f93 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174775,11 +173924,13 @@ index 9c23102..db81f93 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174790,44 +173941,38 @@ index 9c23102..db81f93 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174843,13 +173988,13 @@ index 9c23102..db81f93 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("min_video_bitrate_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
-index d336e65..4523e7a 100644
+index 5278af97..97ce7c5 100644
--- a/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174857,7 +174002,7 @@ index d336e65..4523e7a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174865,11 +174010,13 @@ index d336e65..4523e7a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174880,44 +174027,38 @@ index d336e65..4523e7a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174933,13 +174074,13 @@ index d336e65..4523e7a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("quality_rampup_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
-index 9b65e10..b131ce5 100644
+index f8922c4..e2c984b3 100644
--- a/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -174947,7 +174088,7 @@ index 9b65e10..b131ce5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -174955,11 +174096,13 @@ index 9b65e10..b131ce5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -174970,44 +174113,38 @@ index 9b65e10..b131ce5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175023,13 +174160,13 @@ index 9b65e10..b131ce5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("quality_scaler_settings_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
-index c5b21c9..77b3bdf 100644
+index 6a3e2e7..56d4b9a 100644
--- a/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175037,7 +174174,7 @@ index c5b21c9..77b3bdf 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175045,11 +174182,13 @@ index c5b21c9..77b3bdf 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175060,44 +174199,38 @@ index c5b21c9..77b3bdf 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175113,13 +174246,13 @@ index c5b21c9..77b3bdf 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("quality_scaling_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
-index 0be8b6e..ccbb7b12 100644
+index 4b78cfc..3b99baa 100644
--- a/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175127,7 +174260,7 @@ index 0be8b6e..ccbb7b12 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175135,11 +174268,13 @@ index 0be8b6e..ccbb7b12 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175150,44 +174285,38 @@ index 0be8b6e..ccbb7b12 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175203,13 +174332,13 @@ index 0be8b6e..ccbb7b12 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rate_control_settings_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
-index 5edc2666..7904f53 100644
+index 1b0fbe2..d38dca2 100644
--- a/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175217,7 +174346,7 @@ index 5edc2666..7904f53 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175225,11 +174354,13 @@ index 5edc2666..7904f53 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175240,44 +174371,38 @@ index 5edc2666..7904f53 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175293,13 +174418,13 @@ index 5edc2666..7904f53 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtt_mult_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
-index c90ea47..5abe6e5 100644
+index 38ae7bd..bdb654b 100644
--- a/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175307,7 +174432,7 @@ index c90ea47..5abe6e5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175315,11 +174440,13 @@ index c90ea47..5abe6e5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175330,44 +174457,38 @@ index c90ea47..5abe6e5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175383,13 +174504,13 @@ index c90ea47..5abe6e5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("stable_target_rate_experiment_gn")
diff --git a/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build b/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
-index 83bd305..110cada 100644
+index 378cbc4..12e08dd 100644
--- a/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175397,7 +174518,7 @@ index 83bd305..110cada 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175405,11 +174526,13 @@ index 83bd305..110cada 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175420,41 +174543,38 @@ index 83bd305..110cada 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175470,13 +174590,13 @@ index 83bd305..110cada 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("gtest_prod_gn")
diff --git a/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build b/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
-index 1d41d27..e560873 100644
+index a12495b..f438015 100644
--- a/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175484,7 +174604,7 @@ index 1d41d27..e560873 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175492,11 +174612,13 @@ index 1d41d27..e560873 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175507,41 +174629,38 @@ index 1d41d27..e560873 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175557,13 +174676,13 @@ index 1d41d27..e560873 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("ignore_wundef_gn")
diff --git a/third_party/libwebrtc/rtc_base/logging_gn/moz.build b/third_party/libwebrtc/rtc_base/logging_gn/moz.build
-index 3cd69d3..b799651 100644
+index 10d3555..cc68ba2 100644
--- a/third_party/libwebrtc/rtc_base/logging_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/logging_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175571,7 +174690,7 @@ index 3cd69d3..b799651 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175579,11 +174698,13 @@ index 3cd69d3..b799651 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175594,44 +174715,38 @@ index 3cd69d3..b799651 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175647,13 +174762,13 @@ index 3cd69d3..b799651 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("logging_gn")
diff --git a/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build b/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
-index bf9b26b..fcab944 100644
+index 8543800..3aefc55 100644
--- a/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175661,7 +174776,7 @@ index bf9b26b..fcab944 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175669,11 +174784,13 @@ index bf9b26b..fcab944 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175684,41 +174801,38 @@ index bf9b26b..fcab944 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175734,13 +174848,13 @@ index bf9b26b..fcab944 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("macromagic_gn")
diff --git a/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build b/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-index 8eb7cba..e2dfa55 100644
+index a01ecc6..11eb6c6 100644
--- a/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175748,7 +174862,7 @@ index 8eb7cba..e2dfa55 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175756,11 +174870,13 @@ index 8eb7cba..e2dfa55 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175771,44 +174887,38 @@ index 8eb7cba..e2dfa55 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175824,13 +174934,13 @@ index 8eb7cba..e2dfa55 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("aligned_malloc_gn")
diff --git a/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build b/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-index 175efb5..650b2af 100644
+index a9b4cdc..bd858ad 100644
--- a/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175838,7 +174948,7 @@ index 175efb5..650b2af 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175846,11 +174956,13 @@ index 175efb5..650b2af 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175861,44 +174973,38 @@ index 175efb5..650b2af 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175914,13 +175020,13 @@ index 175efb5..650b2af 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("sent_packet_gn")
diff --git a/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build b/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-index 27d304a..8550565 100644
+index 184ca31..d6f19ff 100644
--- a/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -175928,7 +175034,7 @@ index 27d304a..8550565 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -175936,11 +175042,13 @@ index 27d304a..8550565 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -175951,44 +175059,38 @@ index 27d304a..8550565 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176004,13 +175106,13 @@ index 27d304a..8550565 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("platform_thread_gn")
diff --git a/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build b/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-index b8919fe..6e5ec00 100644
+index debddac..5c93e36 100644
--- a/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176018,7 +175120,7 @@ index b8919fe..6e5ec00 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176026,11 +175128,13 @@ index b8919fe..6e5ec00 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176041,44 +175145,38 @@ index b8919fe..6e5ec00 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176094,13 +175192,13 @@ index b8919fe..6e5ec00 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("platform_thread_types_gn")
diff --git a/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build b/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
-index 29bb856..ff4d7f3 100644
+index e458ccd..9fd9fa8 100644
--- a/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176108,7 +175206,7 @@ index 29bb856..ff4d7f3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176116,11 +175214,13 @@ index 29bb856..ff4d7f3 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176131,41 +175231,38 @@ index 29bb856..ff4d7f3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176181,13 +175278,13 @@ index 29bb856..ff4d7f3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("protobuf_utils_gn")
diff --git a/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build b/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-index 4b43624..7fe0ace 100644
+index 7a8d132..88518ed 100644
--- a/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176195,7 +175292,7 @@ index 4b43624..7fe0ace 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176203,11 +175300,13 @@ index 4b43624..7fe0ace 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176218,44 +175317,38 @@ index 4b43624..7fe0ace 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176271,13 +175364,13 @@ index 4b43624..7fe0ace 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rate_limiter_gn")
diff --git a/third_party/libwebrtc/rtc_base/refcount_gn/moz.build b/third_party/libwebrtc/rtc_base/refcount_gn/moz.build
-index 0bb1831..ad15707 100644
+index afaa2fa..667a669 100644
--- a/third_party/libwebrtc/rtc_base/refcount_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/refcount_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176285,7 +175378,7 @@ index 0bb1831..ad15707 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176293,11 +175386,13 @@ index 0bb1831..ad15707 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176308,41 +175403,38 @@ index 0bb1831..ad15707 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176358,13 +175450,13 @@ index 0bb1831..ad15707 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("refcount_gn")
diff --git a/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build
-index 1a0a056..f1a0d0b 100644
+index 7db2e24..a33018b 100644
--- a/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/rtc_base_approved_gn/moz.build
-@@ -91,7 +91,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -90,7 +90,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176372,7 +175464,7 @@ index 1a0a056..f1a0d0b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -157,11 +156,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -156,10 +155,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176380,11 +175472,13 @@ index 1a0a056..f1a0d0b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -170,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -169,10 +167,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176395,44 +175489,38 @@ index 1a0a056..f1a0d0b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -198,6 +188,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -200,6 +194,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -211,6 +208,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -215,6 +217,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -219,9 +222,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -227,4 +235,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176448,13 +175536,13 @@ index 1a0a056..f1a0d0b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_base_approved_gn")
diff --git a/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build
-index 2831f73..bfd4d5d 100644
+index 55abe83..eef829c 100644
--- a/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/rtc_base_gn/moz.build
-@@ -105,7 +105,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -104,7 +104,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176462,7 +175550,7 @@ index 2831f73..bfd4d5d 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -190,11 +189,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -189,10 +188,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176470,11 +175558,13 @@ index 2831f73..bfd4d5d 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -203,10 +197,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -202,10 +200,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176485,44 +175575,38 @@ index 2831f73..bfd4d5d 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -231,6 +221,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -233,6 +227,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -244,6 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -248,6 +250,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -252,9 +255,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -260,4 +268,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176538,13 +175622,13 @@ index 2831f73..bfd4d5d 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_base_gn")
diff --git a/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-index 76376fd..6ebd81a 100644
+index 6e5fac5..b7332f5 100644
--- a/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176552,7 +175636,7 @@ index 76376fd..6ebd81a 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176560,11 +175644,13 @@ index 76376fd..6ebd81a 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176575,44 +175661,38 @@ index 76376fd..6ebd81a 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176628,13 +175708,13 @@ index 76376fd..6ebd81a 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_event_gn")
diff --git a/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-index 4a6ac16..a8fdfb8 100644
+index afc0d37..fb9a569 100644
--- a/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176642,7 +175722,7 @@ index 4a6ac16..a8fdfb8 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -142,11 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -141,10 +140,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176650,11 +175730,13 @@ index 4a6ac16..a8fdfb8 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -155,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -154,10 +152,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176665,44 +175747,38 @@ index 4a6ac16..a8fdfb8 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -183,6 +173,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -185,6 +179,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -196,6 +193,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -200,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -204,9 +207,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -212,4 +220,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176718,13 +175794,13 @@ index 4a6ac16..a8fdfb8 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_numerics_gn")
diff --git a/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
-index 16c3631..1e93a40 100644
+index b0fa880..23e2b88 100644
--- a/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176732,7 +175808,7 @@ index 16c3631..1e93a40 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176740,11 +175816,13 @@ index 16c3631..1e93a40 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176755,44 +175833,38 @@ index 16c3631..1e93a40 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176808,13 +175880,13 @@ index 16c3631..1e93a40 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_task_queue_gn")
diff --git a/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build b/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
-index e4bad4f..d8ffee5 100644
+index 6ca7e89..521b1da 100644
--- a/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176822,7 +175894,7 @@ index e4bad4f..d8ffee5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176830,11 +175902,13 @@ index e4bad4f..d8ffee5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176845,41 +175919,38 @@ index e4bad4f..d8ffee5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176895,13 +175966,13 @@ index e4bad4f..d8ffee5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("safe_compare_gn")
diff --git a/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build b/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
-index ac5270a..feb37c9 100644
+index a2bf836..bb1cd57 100644
--- a/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176909,7 +175980,7 @@ index ac5270a..feb37c9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -176917,11 +175988,13 @@ index ac5270a..feb37c9 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176932,41 +176005,38 @@ index ac5270a..feb37c9 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -176982,13 +176052,13 @@ index ac5270a..feb37c9 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("safe_conversions_gn")
diff --git a/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build b/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
-index cced167..42388d1 100644
+index 355ec9b..befd69b 100644
--- a/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -176996,7 +176066,7 @@ index cced167..42388d1 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177004,11 +176074,13 @@ index cced167..42388d1 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177019,41 +176091,38 @@ index cced167..42388d1 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177069,13 +176138,13 @@ index cced167..42388d1 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("safe_minmax_gn")
diff --git a/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build b/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
-index 5e7a5ec..a85bed0 100644
+index ab54fcc4..9fd9af6 100644
--- a/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177083,7 +176152,7 @@ index 5e7a5ec..a85bed0 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177091,11 +176160,13 @@ index 5e7a5ec..a85bed0 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177106,41 +176177,38 @@ index 5e7a5ec..a85bed0 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177156,13 +176224,13 @@ index 5e7a5ec..a85bed0 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("sanitizer_gn")
diff --git a/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build b/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-index e398bb8..abe7545 100644
+index b79f586..e79ff07 100644
--- a/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177170,7 +176238,7 @@ index e398bb8..abe7545 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177178,11 +176246,13 @@ index e398bb8..abe7545 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177193,44 +176263,38 @@ index e398bb8..abe7545 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177246,13 +176310,13 @@ index e398bb8..abe7545 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("stringutils_gn")
diff --git a/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
-index 184fcda..a222376 100644
+index a6f5c81..c919ab0 100644
--- a/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177260,7 +176324,7 @@ index 184fcda..a222376 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177268,11 +176332,13 @@ index 184fcda..a222376 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177283,44 +176349,38 @@ index 184fcda..a222376 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177336,13 +176396,13 @@ index 184fcda..a222376 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("mutex_gn")
diff --git a/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build
-index 5f14995..81e19e5 100644
+index 1825cf1..12fb617 100644
--- a/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/synchronization/rw_lock_wrapper_gn/moz.build
-@@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -81,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177350,7 +176410,7 @@ index 5f14995..81e19e5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -156,11 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -155,10 +154,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177358,11 +176418,13 @@ index 5f14995..81e19e5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -168,10 +166,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177373,44 +176435,38 @@ index 5f14995..81e19e5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -197,6 +187,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -199,6 +193,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -210,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -214,6 +216,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -218,9 +221,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -226,4 +234,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177426,13 +176482,13 @@ index 5f14995..81e19e5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rw_lock_wrapper_gn")
diff --git a/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build
-index 5ec0cff6..40a1809 100644
+index dd39bb9..1a124ab 100644
--- a/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177440,7 +176496,7 @@ index 5ec0cff6..40a1809 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177448,11 +176504,13 @@ index 5ec0cff6..40a1809 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177463,44 +176521,38 @@ index 5ec0cff6..40a1809 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177516,13 +176568,13 @@ index 5ec0cff6..40a1809 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("sequence_checker_gn")
diff --git a/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-index 1ca980e..ebba761 100644
+index 55424ba..ed02b57 100644
--- a/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177530,7 +176582,7 @@ index 1ca980e..ebba761 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177538,11 +176590,13 @@ index 1ca980e..ebba761 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177553,44 +176607,38 @@ index 1ca980e..ebba761 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177606,13 +176654,13 @@ index 1ca980e..ebba761 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("yield_gn")
diff --git a/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-index 5939126..8953976 100644
+index 8b4bc71..a627b47 100644
--- a/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177620,7 +176668,7 @@ index 5939126..8953976 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177628,11 +176676,13 @@ index 5939126..8953976 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177643,44 +176693,38 @@ index 5939126..8953976 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177696,13 +176740,13 @@ index 5939126..8953976 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("yield_policy_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build b/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
-index a6e7dec..1b6c602 100644
+index 056dbb0..5a3058c 100644
--- a/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177710,7 +176754,7 @@ index a6e7dec..1b6c602 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177718,11 +176762,13 @@ index a6e7dec..1b6c602 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177733,41 +176779,38 @@ index a6e7dec..1b6c602 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177783,7 +176826,7 @@ index a6e7dec..1b6c602 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("arch_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build b/third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
index 7b0d0f7..fab0f47 100644
@@ -177846,10 +176889,10 @@ index 7b0d0f7..fab0f47 100644
+
Library("asm_defines_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build b/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-index bc4d7e2..b912437 100644
+index cb45852..32a9435 100644
--- a/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177857,7 +176900,7 @@ index bc4d7e2..b912437 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177865,11 +176908,13 @@ index bc4d7e2..b912437 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177880,44 +176925,38 @@ index bc4d7e2..b912437 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177933,13 +176972,13 @@ index bc4d7e2..b912437 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("file_wrapper_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build b/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
-index 2e44685..26fff88 100644
+index e8b1b8b..4af915fb 100644
--- a/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -177947,7 +176986,7 @@ index 2e44685..26fff88 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -177955,11 +176994,13 @@ index 2e44685..26fff88 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -177970,41 +177011,38 @@ index 2e44685..26fff88 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178020,13 +177058,13 @@ index 2e44685..26fff88 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("ignore_warnings_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build b/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
-index e82f4a2..f39f1eb 100644
+index 0a2ff22..74219d1 100644
--- a/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178034,7 +177072,7 @@ index e82f4a2..f39f1eb 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178042,11 +177080,13 @@ index e82f4a2..f39f1eb 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178057,41 +177097,38 @@ index e82f4a2..f39f1eb 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178107,13 +177144,13 @@ index e82f4a2..f39f1eb 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("inline_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build b/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
-index e444814..40986ef 100644
+index 81ba9d1..5cd2bd9 100644
--- a/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178121,7 +177158,7 @@ index e444814..40986ef 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178129,11 +177166,13 @@ index e444814..40986ef 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178144,41 +177183,38 @@ index e444814..40986ef 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178194,13 +177230,13 @@ index e444814..40986ef 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtc_export_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build b/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build
-index 87feb69..64b0322 100644
+index d142010..2b01005 100644
--- a/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/thread_registry_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178208,7 +177244,7 @@ index 87feb69..64b0322 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178216,11 +177252,13 @@ index 87feb69..64b0322 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178231,41 +177269,38 @@ index 87feb69..64b0322 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -182,13 +179,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,6 +188,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,4 +202,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178281,13 +177316,13 @@ index 87feb69..64b0322 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("thread_registry_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build b/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
-index 0b8030c..a8238fe 100644
+index c49ccfc..9b07814 100644
--- a/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178295,7 +177330,7 @@ index 0b8030c..a8238fe 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178303,11 +177338,13 @@ index 0b8030c..a8238fe 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178318,41 +177355,38 @@ index 0b8030c..a8238fe 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178368,13 +177402,13 @@ index 0b8030c..a8238fe 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("unused_gn")
diff --git a/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build b/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
-index 1792dad..cc10efa 100644
+index d065d1b..78d1ae5 100644
--- a/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178382,7 +177416,7 @@ index 1792dad..cc10efa 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178390,11 +177424,13 @@ index 1792dad..cc10efa 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178405,41 +177441,38 @@ index 1792dad..cc10efa 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178455,13 +177488,13 @@ index 1792dad..cc10efa 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("warn_current_thread_is_deadlocked_gn")
diff --git a/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build b/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build
-index 3186044..f804328 100644
+index 87147f0..b8af1de 100644
--- a/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/task_utils/pending_task_safety_flag_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178469,7 +177502,7 @@ index 3186044..f804328 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178477,11 +177510,13 @@ index 3186044..f804328 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178492,44 +177527,38 @@ index 3186044..f804328 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178545,13 +177574,13 @@ index 3186044..f804328 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pending_task_safety_flag_gn")
diff --git a/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build b/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
-index 3218f68..197633c 100644
+index d660c78..8d4ed08 100644
--- a/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178559,7 +177588,7 @@ index 3218f68..197633c 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -146,10 +145,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178567,11 +177596,13 @@ index 3218f68..197633c 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -160,10 +154,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -159,10 +157,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178582,44 +177613,38 @@ index 3218f68..197633c 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -188,6 +178,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -190,6 +184,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -201,6 +198,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -205,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -209,9 +212,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -217,4 +225,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178635,13 +177660,13 @@ index 3218f68..197633c 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("repeating_task_gn")
diff --git a/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build b/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build
-index f6d95c5..bdb673e 100644
+index 2bc35e3..115c20d 100644
--- a/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/task_utils/to_queued_task_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178649,7 +177674,7 @@ index f6d95c5..bdb673e 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178657,11 +177682,13 @@ index f6d95c5..bdb673e 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178672,41 +177699,38 @@ index f6d95c5..bdb673e 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178722,13 +177746,13 @@ index f6d95c5..bdb673e 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("to_queued_task_gn")
diff --git a/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build b/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-index 0849487..a64c529 100644
+index 69b5134..bda0fb4 100644
--- a/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178736,7 +177760,7 @@ index 0849487..a64c529 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178744,11 +177768,13 @@ index 0849487..a64c529 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178759,44 +177785,38 @@ index 0849487..a64c529 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178812,13 +177832,13 @@ index 0849487..a64c529 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("base64_gn")
diff --git a/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build b/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
-index a3c1b2d..fbbd5da 100644
+index 1ad4f6f..7d40247 100644
--- a/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178826,7 +177846,7 @@ index a3c1b2d..fbbd5da 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -131,10 +130,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178834,11 +177854,13 @@ index a3c1b2d..fbbd5da 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,10 +139,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -144,10 +142,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178849,44 +177871,38 @@ index a3c1b2d..fbbd5da 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -173,6 +163,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -175,6 +169,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -186,6 +183,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,6 +192,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -194,9 +197,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -202,4 +210,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178902,13 +177918,13 @@ index a3c1b2d..fbbd5da 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("sigslot_gn")
diff --git a/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build b/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build
-index eb1c598..cbe6e316 100644
+index 9219c3a..e57c78f 100644
--- a/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/thread_checker_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -178916,7 +177932,7 @@ index eb1c598..cbe6e316 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -178924,11 +177940,13 @@ index eb1c598..cbe6e316 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178939,41 +177957,38 @@ index eb1c598..cbe6e316 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -178989,13 +178004,13 @@ index eb1c598..cbe6e316 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("thread_checker_gn")
diff --git a/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build b/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build
-index 7dd65b9..041b973 100644
+index 34a5f1f..f983b4d 100644
--- a/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/time/timestamp_extrapolator_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179003,7 +178018,7 @@ index 7dd65b9..041b973 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179011,11 +178026,13 @@ index 7dd65b9..041b973 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179026,44 +178043,38 @@ index 7dd65b9..041b973 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179079,13 +178090,13 @@ index 7dd65b9..041b973 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("timestamp_extrapolator_gn")
diff --git a/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build b/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-index 39632fc..a7f726b 100644
+index c0fcc56..60079c0 100644
--- a/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-@@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179093,7 +178104,7 @@ index 39632fc..a7f726b 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -142,11 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -141,10 +140,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179101,11 +178112,13 @@ index 39632fc..a7f726b 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -155,10 +149,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -154,10 +152,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179116,44 +178129,38 @@ index 39632fc..a7f726b 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -183,6 +173,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -185,6 +179,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -196,6 +193,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -200,6 +202,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -204,9 +207,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -212,4 +220,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179169,13 +178176,13 @@ index 39632fc..a7f726b 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("timeutils_gn")
diff --git a/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build b/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
-index 5cff354..c5e6679 100644
+index decab27..db81896 100644
--- a/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
-@@ -70,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179183,7 +178190,7 @@ index 5cff354..c5e6679 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -123,10 +122,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179191,11 +178198,13 @@ index 5cff354..c5e6679 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -137,10 +131,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -136,10 +134,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179206,41 +178215,38 @@ index 5cff354..c5e6679 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -165,6 +155,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -167,6 +161,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -174,13 +171,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -178,6 +180,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -186,4 +194,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179256,13 +178262,13 @@ index 5cff354..c5e6679 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("type_traits_gn")
diff --git a/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build b/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
-index 5d22a05..45e5410 100644
+index 8155098..3b43d0c 100644
--- a/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
-@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179270,7 +178276,7 @@ index 5d22a05..45e5410 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -127,10 +126,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179278,11 +178284,13 @@ index 5d22a05..45e5410 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -141,10 +135,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -140,10 +138,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179293,41 +178301,38 @@ index 5d22a05..45e5410 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,6 +159,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -171,6 +165,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -178,13 +175,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -182,6 +184,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -190,4 +198,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179343,13 +178348,13 @@ index 5d22a05..45e5410 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("unit_base_gn")
diff --git a/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build b/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-index a9a520b..b1e60d90 100644
+index 10d0ae4..2bcdcd9 100644
--- a/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
+++ b/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179357,7 +178362,7 @@ index a9a520b..b1e60d90 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -135,10 +134,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179365,11 +178370,13 @@ index a9a520b..b1e60d90 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -149,10 +143,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -148,10 +146,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179380,44 +178387,38 @@ index a9a520b..b1e60d90 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -177,6 +167,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -179,6 +173,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -190,6 +187,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -194,6 +196,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -198,9 +201,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -206,4 +214,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179433,13 +178434,13 @@ index a9a520b..b1e60d90 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("weak_ptr_gn")
diff --git a/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build b/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-index e8fd3bd..db84d45 100644
+index 7fee555..6bebaea 100644
--- a/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
+++ b/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179447,7 +178448,7 @@ index e8fd3bd..db84d45 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179455,11 +178456,13 @@ index e8fd3bd..db84d45 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179470,44 +178473,38 @@ index e8fd3bd..db84d45 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179523,13 +178520,13 @@ index e8fd3bd..db84d45 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("field_trial_gn")
diff --git a/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build b/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-index 0edfd92..f6fe536 100644
+index 4f1a279..1df2f87 100644
--- a/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
+++ b/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179537,7 +178534,7 @@ index 0edfd92..f6fe536 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -139,10 +138,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179545,11 +178542,13 @@ index 0edfd92..f6fe536 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -153,10 +147,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -152,10 +150,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179560,44 +178559,38 @@ index 0edfd92..f6fe536 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -181,6 +171,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -183,6 +177,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -194,6 +191,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -198,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -202,9 +205,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -210,4 +218,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179613,13 +178606,13 @@ index 0edfd92..f6fe536 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("metrics_gn")
diff --git a/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build b/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-index 7276624..6890d46 100644
+index 3754eb3..972fa5b 100644
--- a/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
+++ b/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-@@ -88,7 +88,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -87,7 +87,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179627,7 +178620,7 @@ index 7276624..6890d46 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -161,11 +160,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -160,10 +159,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179635,11 +178628,13 @@ index 7276624..6890d46 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -174,10 +168,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -173,10 +171,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179650,44 +178645,38 @@ index 7276624..6890d46 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -202,6 +192,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -204,6 +198,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -215,6 +212,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -219,6 +221,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -223,9 +226,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -231,4 +239,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179703,13 +178692,13 @@ index 7276624..6890d46 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("system_wrappers_gn")
diff --git a/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build b/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
-index c222e6a..55c879f 100644
+index 75c5faf..06a9ebd 100644
--- a/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
+++ b/third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -179717,7 +178706,7 @@ index c222e6a..55c879f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -179725,11 +178714,13 @@ index c222e6a..55c879f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179740,44 +178731,38 @@ index c222e6a..55c879f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -179793,393 +178778,351 @@ index c222e6a..55c879f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rtp_test_utils_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build
-index 5d029de..9e1a288 100644
+index a07594f..63d44d8 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("algorithm_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build
-index ac2b2f9..6568596 100644
+index b8469e9..39ccd8f 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("container_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build
-index 1839c3f..af6e49b 100644
+index 41953c4..9f99e7a 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("atomic_hook_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build
-index 1d348ef..443f720 100644
+index c30cc28..3f54105 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("base_internal_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build
-index c1b56e2..b48fba3 100644
+index abdee5c..a80e98e 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("config_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build
-index 5d61315..ca17d84 100644
+index 4c4235d..5a12c74 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("core_headers_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build
-index 0c5b308..2ac36a9 100644
+index f2dfa1a..4d28205 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build
-@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -100,11 +99,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -99,10 +98,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180187,62 +179130,53 @@ index 0c5b308..2ac36a9 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -125,6 +119,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -127,6 +125,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -138,6 +139,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -142,6 +148,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -146,9 +153,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("log_severity_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build
-index 0f5efc7..f869072 100644
+index 25db30b..33773b8 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build
-@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -100,11 +99,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -99,10 +98,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180250,434 +179184,383 @@ index 0f5efc7..f869072 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -125,6 +119,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -127,6 +125,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -138,6 +139,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -142,6 +148,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -146,9 +153,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("raw_logging_internal_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build
-index 640a888..9c1572c 100644
+index aec5672..afb5e2b 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("compressed_tuple_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build
-index fa970ef..ecf69a0 100644
+index 72ac7aa..5953ef8 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/flat_hash_map_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("flat_hash_map_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build
-index a75033fa..7a353bc 100644
+index b0df397..52dce81 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("inlined_vector_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build
-index 4c744d8..77b84e3 100644
+index 8c7d21c..5f09ef1 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("inlined_vector_internal_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build
-index 74fabcb..cae000c 100644
+index 97154f3..02bae52 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("memory_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build
-index 5463d86..d5915f9 100644
+index c565aac..5759c3a 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("type_traits_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build
-index dbc6516..77f2d00 100644
+index 7b0b60f..55feaf15 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build
-@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -100,11 +99,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -99,10 +98,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180685,62 +179568,53 @@ index dbc6516..77f2d00 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -125,6 +119,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -127,6 +125,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -138,6 +139,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -142,6 +148,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -146,9 +153,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("int128_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build
-index 8d3df8b..5320bd3 100644
+index c39fb94..af082d4 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal_gn/moz.build
-@@ -59,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -58,7 +58,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -102,11 +101,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -101,10 +100,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180748,62 +179622,53 @@ index 8d3df8b..5320bd3 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -127,6 +121,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -129,6 +127,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -140,6 +141,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -144,6 +150,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -148,9 +155,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("internal_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
-index 28fe798..671deed 100644
+index bb3bffd..276f0e9 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
-@@ -72,7 +72,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -71,7 +71,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -115,11 +114,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -114,10 +113,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180811,62 +179676,53 @@ index 28fe798..671deed 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -140,6 +134,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -142,6 +140,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -153,6 +154,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -157,6 +163,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -161,9 +168,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("strings_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build
-index c7f0ea0..3d7dc93 100644
+index 75bb012..a338da7 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build
-@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -100,11 +99,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -99,10 +98,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180874,62 +179730,53 @@ index c7f0ea0..3d7dc93 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -125,6 +119,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -127,6 +125,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -138,6 +139,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -142,6 +148,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -146,9 +153,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("bad_optional_access_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build
-index 89022d5..cc11d78 100644
+index 3c8def4..98369ef 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build
-@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -100,11 +99,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -99,10 +98,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -180937,310 +179784,273 @@ index 89022d5..cc11d78 100644
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -125,6 +119,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -127,6 +125,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -138,6 +139,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -142,6 +148,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -146,9 +153,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("bad_variant_access_gn")
+ CXXFLAGS += [
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build
-index 2579d0b..049c37e 100644
+index 1fad045..a24e056 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("optional_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build
-index 41cd799..c97aec9 100644
+index dcd7d5b..3926fce 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("span_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build
-index bb22317..879e032f 100644
+index 26030af..10f78dd 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("variant_gn")
diff --git a/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build b/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build
-index 7588f9b..2464ae3 100644
+index 9bb8e93..9caa2a5 100644
--- a/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build
+++ b/third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build
-@@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
-@@ -90,13 +89,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
+@@ -89,12 +88,9 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WINDOWS"] = True
DEFINES["__STD_C"] = True
-if CONFIG["CPU_ARCH"] == "arm":
--
++if CONFIG["CPU_ARCH"] == "ppc64":
+
- OS_LIBS += [
- "android_support",
- "unwind"
- ]
--
- if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
++ DEFINES["USE_X11"] = "1"
- DEFINES["_DEBUG"] = True
-@@ -117,6 +109,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -119,6 +115,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- OS_LIBS += [
-@@ -126,13 +125,21 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -130,6 +134,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-
- Library("utility_gn")
diff --git a/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build b/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
-index fa20ebb..1c8fad4 100644
+index fc7378c..b8367c21 100644
--- a/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
+++ b/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
-@@ -58,7 +58,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -104,10 +103,9 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -103,10 +102,10 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -181251,10 +180061,11 @@ index fa20ebb..1c8fad4 100644
+if CONFIG["CPU_ARCH"] == "ppc64":
+
+ DEFINES["PFFFT_SIMD_DISABLE"] = True
++ DEFINES["USE_X11"] = "1"
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -117,10 +115,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -116,10 +115,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181265,44 +180076,38 @@ index fa20ebb..1c8fad4 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -145,6 +139,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -147,6 +142,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CFLAGS += [
-@@ -158,6 +159,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -162,6 +165,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -166,9 +173,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CFLAGS += [
+@@ -174,4 +183,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181318,21 +180123,21 @@ index fa20ebb..1c8fad4 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("pffft_gn")
diff --git a/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build b/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
-index aef691b..b133547 100644
+index d521b78..e5da792 100644
--- a/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
+++ b/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
-@@ -58,7 +58,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -57,7 +57,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_OZONE"] = "1"
DEFINES["USE_UDEV"] = True
- DEFINES["USE_X11"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
- DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -103,11 +102,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -102,10 +101,9 @@ if CONFIG["CPU_ARCH"] == "arm":
"-mfpu=neon"
]
@@ -181340,11 +180145,13 @@ index aef691b..b133547 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -116,10 +110,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -115,10 +113,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181355,44 +180162,38 @@ index aef691b..b133547 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -144,6 +134,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -146,6 +140,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -157,6 +154,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -161,6 +163,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -165,9 +168,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -173,4 +181,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181408,13 +180209,13 @@ index aef691b..b133547 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("rnn_vad_gn")
diff --git a/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build b/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-index 1490845..926b2b5 100644
+index 7085eac..2b644b0 100644
--- a/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
+++ b/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-@@ -86,7 +86,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -181422,7 +180223,7 @@ index 1490845..926b2b5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -156,11 +155,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -155,10 +154,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -181430,11 +180231,13 @@ index 1490845..926b2b5 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -169,10 +163,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -168,10 +166,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181445,44 +180248,38 @@ index 1490845..926b2b5 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -197,6 +187,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -199,6 +193,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -210,6 +207,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -214,6 +216,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -218,9 +221,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -226,4 +234,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181498,13 +180295,13 @@ index 1490845..926b2b5 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_adaptation_gn")
diff --git a/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build b/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-index 624c83e..1e14053 100644
+index 8d72f97..551f1fa 100644
--- a/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
+++ b/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-@@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -181512,7 +180309,7 @@ index 624c83e..1e14053 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -148,10 +147,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -181520,11 +180317,13 @@ index 624c83e..1e14053 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -162,10 +156,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -161,10 +159,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181535,44 +180334,38 @@ index 624c83e..1e14053 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -190,6 +180,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -192,6 +186,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -203,6 +200,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -207,6 +209,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -211,9 +214,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -219,4 +227,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181588,13 +180381,13 @@ index 624c83e..1e14053 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("frame_dumping_decoder_gn")
diff --git a/third_party/libwebrtc/video/video_gn/moz.build b/third_party/libwebrtc/video/video_gn/moz.build
-index c361d52..4463a1f 100644
+index 0033522..dd03892 100644
--- a/third_party/libwebrtc/video/video_gn/moz.build
+++ b/third_party/libwebrtc/video/video_gn/moz.build
-@@ -108,7 +108,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -107,7 +107,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -181602,7 +180395,7 @@ index c361d52..4463a1f 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -178,11 +177,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -177,10 +176,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -181610,11 +180403,13 @@ index c361d52..4463a1f 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -191,10 +185,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -190,10 +188,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181625,44 +180420,38 @@ index c361d52..4463a1f 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -219,6 +209,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -221,6 +215,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -232,6 +229,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -236,6 +238,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -240,9 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -248,4 +256,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181678,13 +180467,13 @@ index c361d52..4463a1f 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_gn")
diff --git a/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build b/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-index 71efcab..7d87732 100644
+index aa046ea..2e22294 100644
--- a/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
+++ b/third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-@@ -84,7 +84,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -83,7 +83,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -181692,7 +180481,7 @@ index 71efcab..7d87732 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -154,11 +153,6 @@ if CONFIG["CPU_ARCH"] == "arm":
+@@ -153,10 +152,9 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
@@ -181700,11 +180489,13 @@ index 71efcab..7d87732 100644
- "android_support",
- "unwind"
- ]
--
++if CONFIG["CPU_ARCH"] == "ppc64":
++
++ DEFINES["USE_X11"] = "1"
+
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
- DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -167,10 +161,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -166,10 +164,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181715,44 +180506,38 @@ index 71efcab..7d87732 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -195,6 +185,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+@@ -197,6 +191,14 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
++
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
+ OS_LIBS += [
+ "android_support",
+ "unwind"
+ ]
-+
+
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- CXXFLAGS += [
-@@ -208,6 +205,12 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -212,6 +214,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
-
++
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-@@ -216,9 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- ]
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ CXXFLAGS += [
+@@ -224,4 +232,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181768,13 +180553,13 @@ index 71efcab..7d87732 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("video_stream_encoder_impl_gn")
diff --git a/third_party/libwebrtc/webrtc_gn/moz.build b/third_party/libwebrtc/webrtc_gn/moz.build
-index 625bd0b..c231da3 100644
+index 3c7d970..25c0044 100644
--- a/third_party/libwebrtc/webrtc_gn/moz.build
+++ b/third_party/libwebrtc/webrtc_gn/moz.build
-@@ -75,7 +75,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
@@ -181782,28 +180567,38 @@ index 625bd0b..c231da3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["__STDC_CONSTANT_MACROS"] = True
-@@ -83,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
+@@ -82,7 +81,6 @@ if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"dl",
- "m",
- "rt",
- "X11",
- "Xcomposite",
-@@ -167,9 +165,10 @@ if CONFIG["CPU_ARCH"] == "arm":
+ "rt"
+ ]
+
+@@ -158,9 +156,20 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
+if CONFIG["CPU_ARCH"] == "ppc64":
+
++ DEFINES["USE_X11"] = "1"
++
OS_LIBS += [
- "android_support",
- "unwind"
-+ "m"
++ "m",
++ "X11",
++ "Xcomposite",
++ "Xdamage",
++ "Xext",
++ "Xfixes",
++ "Xrandr",
++ "Xrender",
++ "Xtst"
]
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
-@@ -180,10 +179,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
+@@ -171,10 +180,6 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181814,9 +180609,20 @@ index 625bd0b..c231da3 100644
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["_FORTIFY_SOURCE"] = "2"
-@@ -208,6 +203,13 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+@@ -202,8 +207,10 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
+ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["USE_X11"] = "1"
++ DEFINES["_GNU_SOURCE"] = True
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
+ OS_LIBS += [
++ "m",
+ "X11",
+ "Xcomposite",
+ "Xdamage",
+@@ -214,6 +221,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+ "Xtst"
+ ]
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
+
@@ -181828,39 +180634,34 @@ index 625bd0b..c231da3 100644
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
-@@ -217,13 +219,49 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
- if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
+@@ -224,6 +238,23 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["CR_SYSROOT_HASH"] = "c2e54f675b83a61301dcdb22e8e7a2b85c01d58c"
-+ DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
-
- DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
++ DEFINES["USE_X11"] = "1"
+ DEFINES["_GNU_SOURCE"] = True
+
+ OS_LIBS += [
-+ "m"
++ "X11",
++ "Xcomposite",
++ "Xdamage",
++ "Xext",
++ "Xfixes",
++ "Xrandr",
++ "Xrender",
++ "Xtst"
+ ]
++
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
+ DEFINES["CR_SYSROOT_HASH"] = "d967bcef40477dbc39acef141ff22bf73f3e7cdb"
+@@ -232,4 +263,20 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["CR_SYSROOT_HASH"] = "5f64b417e1018dcf8fcc81dc2714e0f264b9b911"
-+ DEFINES["_GNU_SOURCE"] = True
-+
-+ OS_LIBS += [
-+ "m"
-+ ]
-+
+
+if CONFIG["CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
@@ -181876,5 +180677,5 @@ index 625bd0b..c231da3 100644
+if CONFIG["CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
+
+ DEFINES["_FORTIFY_SOURCE"] = "2"
-
++
Library("webrtc_gn")
bgstack15