tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ba4217953685f381c5d849199ecb6dee031246de
parent 6e2ca975906f7711a4818b1226503e74c0202855
Author: Michael Froman <mfroman@mozilla.com>
Date:   Thu,  9 Oct 2025 02:34:30 +0000

Bug 1980501 - update generated libwebrtc moz.build files. r=ng,cpeterson

Differential Revision: https://phabricator.services.mozilla.com/D267999

Diffstat:
Mthird_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio/aec3_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio/aec3_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio/audio_processing_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/audio_options_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/crypto/options_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/environment/environment_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/field_trials_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/field_trials_registry_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/frame_transformer_interface_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/media_stream_interface_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/neteq/neteq_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/neteq/tick_timer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/priority_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/rtc_error_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/rtp_headers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/rtp_packet_info_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/rtp_parameters_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/task_queue/task_queue_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/transport/goog_cc_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/transport/network_control_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/transport_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/units/data_rate_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/units/data_size_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/units/frequency_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/units/time_delta_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/units/timestamp_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/encoded_frame_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/encoded_image_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/frame_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_adaptation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_frame_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_frame_i010_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/audio/audio_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/bitrate_allocator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/bitrate_configurator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/call_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/call_interfaces_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/payload_type_picker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/rtp_interfaces_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/rtp_receiver_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/rtp_sender_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/version_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/video_receive_stream_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/call/video_send_stream_api_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/common_audio_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build | 18++++++++++++++++--
Mthird_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_video/common_video_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_audio_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_field_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_event_video_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/logging/rtc_stream_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/adapted_video_track_source_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/codec_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/media_constants_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/rid_description_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/rtc_audio_video_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/video_adapter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/video_broadcaster_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/video_common_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/media/video_source_base_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/g711_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/g722_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/red_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build | 14++++++++++++--
Mthird_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build | 16++++++++++++++++
Mthird_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build | 16++++++++++++++++
Mthird_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/pacing/pacing_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/portal/portal_gn/moz.build | 4++++
Mthird_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/utility/utility_gn/moz.build | 4++++
Mthird_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/base64_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/checks_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/cpu_info_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/criticalsection_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/event_tracer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build | 4++++
Mthird_party/libwebrtc/rtc_base/ip_address_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/logging_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/net_helpers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/network_constants_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/network_route_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/platform_thread_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/race_checker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/random_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/rtc_event_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/sample_counter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/socket_address_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/socket_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/stringutils_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/threading_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/timeutils_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build | 4++++
Mthird_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build | 4++++
Mthird_party/libwebrtc/rtc_base/win/hstring_gn/moz.build | 4++++
Mthird_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build | 4++++
Mthird_party/libwebrtc/rtc_base/win32_gn/moz.build | 4++++
Mthird_party/libwebrtc/rtc_base/zero_memory_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/system_wrappers/field_trial_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/system_wrappers/metrics_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/config/encoder_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/config/streams_config_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/decode_synchronizer_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/frame_decode_timing_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/render/video_render_frames_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/video_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build | 20++++++++++++++++++++
Mthird_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build | 20++++++++++++++++++++
349 files changed, 6832 insertions(+), 4 deletions(-)

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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build b/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build b/third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio/audio_processing_gn/moz.build b/third_party/libwebrtc/api/audio/audio_processing_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build b/third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build b/third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -73,6 +77,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -80,6 +88,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -95,6 +107,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -107,6 +123,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build b/third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/audio_options_api_gn/moz.build b/third_party/libwebrtc/api/audio_options_api_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/crypto/options_gn/moz.build b/third_party/libwebrtc/api/crypto/options_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/environment/environment_factory_gn/moz.build b/third_party/libwebrtc/api/environment/environment_factory_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/field_trials_gn/moz.build b/third_party/libwebrtc/api/field_trials_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/field_trials_registry_gn/moz.build b/third_party/libwebrtc/api/field_trials_registry_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build b/third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/media_stream_interface_gn/moz.build b/third_party/libwebrtc/api/media_stream_interface_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build b/third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build b/third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build b/third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/priority_gn/moz.build b/third_party/libwebrtc/api/priority_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/rtc_error_gn/moz.build b/third_party/libwebrtc/api/rtc_error_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/rtp_headers_gn/moz.build b/third_party/libwebrtc/api/rtp_headers_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build b/third_party/libwebrtc/api/rtp_packet_info_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/rtp_parameters_gn/moz.build b/third_party/libwebrtc/api/rtp_parameters_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build b/third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build b/third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build b/third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build b/third_party/libwebrtc/api/transport/goog_cc_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/transport/network_control_gn/moz.build b/third_party/libwebrtc/api/transport/network_control_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/transport_api_gn/moz.build b/third_party/libwebrtc/api/transport_api_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/units/data_rate_gn/moz.build b/third_party/libwebrtc/api/units/data_rate_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/units/data_size_gn/moz.build b/third_party/libwebrtc/api/units/data_size_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/units/frequency_gn/moz.build b/third_party/libwebrtc/api/units/frequency_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/units/time_delta_gn/moz.build b/third_party/libwebrtc/api/units/time_delta_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/units/timestamp_gn/moz.build b/third_party/libwebrtc/api/units/timestamp_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build b/third_party/libwebrtc/api/video/encoded_frame_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/video/encoded_image_gn/moz.build b/third_party/libwebrtc/api/video/encoded_image_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/video/frame_buffer_gn/moz.build b/third_party/libwebrtc/api/video/frame_buffer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build b/third_party/libwebrtc/api/video/video_adaptation_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/video/video_frame_gn/moz.build b/third_party/libwebrtc/api/video/video_frame_gn/moz.build @@ -61,6 +61,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -79,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -86,6 +94,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -101,6 +113,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -113,6 +129,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -57,6 +57,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -75,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -82,6 +90,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -97,6 +109,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build b/third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -60,6 +60,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -78,6 +82,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -85,6 +93,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -100,6 +112,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -112,6 +128,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/audio/audio_gn/moz.build b/third_party/libwebrtc/audio/audio_gn/moz.build @@ -62,6 +62,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -81,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -88,6 +96,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -103,6 +115,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -115,6 +131,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build b/third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build @@ -59,6 +59,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -77,6 +81,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -84,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -99,6 +111,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -111,6 +127,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build b/third_party/libwebrtc/call/bitrate_allocator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build b/third_party/libwebrtc/call/bitrate_configurator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/call_gn/moz.build b/third_party/libwebrtc/call/call_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/call_interfaces_gn/moz.build b/third_party/libwebrtc/call/call_interfaces_gn/moz.build @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -74,6 +78,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -81,6 +89,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -96,6 +108,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -108,6 +124,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/payload_type_picker_gn/moz.build b/third_party/libwebrtc/call/payload_type_picker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build b/third_party/libwebrtc/call/rtp_interfaces_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/rtp_receiver_gn/moz.build b/third_party/libwebrtc/call/rtp_receiver_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/rtp_sender_gn/moz.build b/third_party/libwebrtc/call/rtp_sender_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/version_gn/moz.build b/third_party/libwebrtc/call/version_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build b/third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/call/video_send_stream_api_gn/moz.build b/third_party/libwebrtc/call/video_send_stream_api_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build @@ -57,6 +57,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -75,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -82,6 +90,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -98,6 +110,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -110,6 +126,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/common_audio/common_audio_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_gn/moz.build @@ -63,6 +63,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -81,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -88,6 +96,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -103,6 +115,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -115,6 +131,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True @@ -79,6 +87,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -95,6 +107,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_ARCH_ARM64"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build b/third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,7 +75,8 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": CXXFLAGS += [ - "-msse2" + "-msse2", + "-std=gnu++20" ] DEFINES["WEBRTC_MAC"] = True @@ -81,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -98,7 +107,8 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": CXXFLAGS += [ - "-msse2" + "-msse2", + "-std=gnu++20" ] DEFINES["USE_GLIB"] = "1" @@ -113,6 +123,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/common_video/common_video_gn/moz.build b/third_party/libwebrtc/common_video/common_video_gn/moz.build @@ -62,6 +62,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -80,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -87,6 +95,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -102,6 +114,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -114,6 +130,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build b/third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build @@ -54,6 +54,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -72,6 +76,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -79,6 +87,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -94,6 +106,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -106,6 +122,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -73,6 +77,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -80,6 +88,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -95,6 +107,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -107,6 +123,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_event_field_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_field_gn/moz.build @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build b/third_party/libwebrtc/logging/rtc_event_video_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build b/third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build b/third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/codec_gn/moz.build b/third_party/libwebrtc/media/codec_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/media_constants_gn/moz.build b/third_party/libwebrtc/media/media_constants_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/rid_description_gn/moz.build b/third_party/libwebrtc/media/rid_description_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/rtc_audio_video_gn/moz.build b/third_party/libwebrtc/media/rtc_audio_video_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build b/third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/video_adapter_gn/moz.build b/third_party/libwebrtc/media/video_adapter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/video_broadcaster_gn/moz.build b/third_party/libwebrtc/media/video_broadcaster_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/video_common_gn/moz.build b/third_party/libwebrtc/media/video_common_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/media/video_source_base_gn/moz.build b/third_party/libwebrtc/media/video_source_base_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build b/third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -60,6 +60,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -78,6 +82,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -85,6 +93,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -100,6 +112,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -112,6 +128,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build @@ -85,6 +85,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -103,6 +107,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -110,6 +118,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -125,6 +137,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -137,6 +153,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build b/third_party/libwebrtc/modules/audio_coding/red_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -54,6 +54,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -72,6 +76,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -79,6 +87,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -94,6 +106,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -106,6 +122,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -54,6 +54,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -72,6 +76,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -79,6 +87,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -94,6 +106,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -106,6 +122,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build @@ -61,6 +61,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -79,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -86,6 +94,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -102,6 +114,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -114,6 +130,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -107,6 +107,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -125,6 +129,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -132,6 +140,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -147,6 +159,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -159,6 +175,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -73,6 +77,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -84,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -99,6 +111,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -115,6 +131,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build @@ -56,6 +56,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -74,6 +78,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -81,6 +89,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -97,6 +109,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -56,6 +56,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -74,6 +78,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -81,6 +89,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -96,6 +108,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -108,6 +124,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -63,6 +63,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -81,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -88,6 +96,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -103,6 +115,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -115,6 +131,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build b/third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -57,6 +57,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -75,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -82,6 +90,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -97,6 +109,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -73,6 +77,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -80,6 +88,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -95,6 +107,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -107,6 +123,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build b/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build @@ -52,7 +52,8 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Darwin": CXXFLAGS += [ - "-msse2" + "-msse2", + "-std=gnu++20" ] DEFINES["WEBRTC_MAC"] = True @@ -62,6 +63,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -79,7 +84,8 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": CXXFLAGS += [ - "-msse2" + "-msse2", + "-std=gnu++20" ] DEFINES["USE_GLIB"] = "1" @@ -94,6 +100,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -88,6 +88,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -102,6 +106,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -126,6 +134,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -167,6 +179,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build b/third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build @@ -56,6 +56,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -63,6 +67,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build b/third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build b/third_party/libwebrtc/modules/pacing/pacing_gn/moz.build @@ -57,6 +57,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -76,6 +80,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -83,6 +91,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -98,6 +110,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -110,6 +126,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/portal/portal_gn/moz.build b/third_party/libwebrtc/modules/portal/portal_gn/moz.build @@ -22,6 +22,10 @@ if not CONFIG["MOZ_SYSTEM_PIPEWIRE"]: COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std=gnu++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True diff --git a/third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build b/third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -59,6 +59,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -77,6 +81,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -84,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -99,6 +111,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -111,6 +127,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build b/third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build b/third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -94,6 +94,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -112,6 +116,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -119,6 +127,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -134,6 +146,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -146,6 +162,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -104,6 +104,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -123,6 +127,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -130,6 +138,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -145,6 +157,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -157,6 +173,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/utility/utility_gn/moz.build b/third_party/libwebrtc/modules/utility/utility_gn/moz.build @@ -46,6 +46,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True 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 @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -73,6 +77,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -80,6 +88,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -102,6 +114,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -121,6 +137,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -54,6 +54,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -72,6 +76,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -79,6 +87,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -94,6 +106,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -106,6 +122,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build b/third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build @@ -57,6 +57,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -75,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -82,6 +90,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -97,6 +109,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build b/third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build b/third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build b/third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build b/third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build b/third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build b/third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build b/third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build @@ -57,6 +57,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -75,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -82,6 +90,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -97,6 +109,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build b/third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build b/third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build b/third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -63,6 +63,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -82,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -89,6 +97,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -104,6 +116,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -116,6 +132,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -62,6 +62,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -81,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -88,6 +96,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -103,6 +115,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -115,6 +131,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -74,6 +78,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -81,6 +89,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -96,6 +108,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -108,6 +124,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -56,6 +56,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -75,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -82,6 +90,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -97,6 +109,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -109,6 +125,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build b/third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -55,6 +55,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -74,6 +78,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -81,6 +89,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -96,6 +108,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -108,6 +124,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -58,6 +58,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -77,6 +81,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -84,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -99,6 +111,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -111,6 +127,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build @@ -67,6 +67,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -85,6 +89,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -92,6 +100,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -107,6 +119,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -119,6 +135,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build @@ -63,6 +63,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -81,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -88,6 +96,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -103,6 +115,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -115,6 +131,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build @@ -61,6 +61,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -79,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -86,6 +94,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -101,6 +113,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -113,6 +129,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build b/third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build b/third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build b/third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build b/third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build b/third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build b/third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build b/third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build b/third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build b/third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build b/third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build b/third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build b/third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build b/third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build b/third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build b/third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build b/third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build b/third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build b/third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build b/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build b/third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build b/third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/base64_gn/moz.build b/third_party/libwebrtc/rtc_base/base64_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build b/third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build b/third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build b/third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build b/third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/checks_gn/moz.build b/third_party/libwebrtc/rtc_base/checks_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build b/third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build b/third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build b/third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build b/third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build b/third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build b/third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -71,6 +75,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -78,6 +86,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -93,6 +105,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -105,6 +121,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build b/third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build b/third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build b/third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build b/third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build @@ -9,6 +9,10 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std=gnu++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" diff --git a/third_party/libwebrtc/rtc_base/ip_address_gn/moz.build b/third_party/libwebrtc/rtc_base/ip_address_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/logging_gn/moz.build b/third_party/libwebrtc/rtc_base/logging_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build b/third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/network_constants_gn/moz.build b/third_party/libwebrtc/rtc_base/network_constants_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/network_route_gn/moz.build b/third_party/libwebrtc/rtc_base/network_route_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build b/third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build b/third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/race_checker_gn/moz.build b/third_party/libwebrtc/rtc_base/race_checker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/random_gn/moz.build b/third_party/libwebrtc/rtc_base/random_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build b/third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build b/third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build b/third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build b/third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build b/third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build b/third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/socket_address_gn/moz.build b/third_party/libwebrtc/rtc_base/socket_address_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/socket_gn/moz.build b/third_party/libwebrtc/rtc_base/socket_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build b/third_party/libwebrtc/rtc_base/stringutils_gn/moz.build @@ -54,6 +54,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -72,6 +76,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -79,6 +87,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -94,6 +106,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -106,6 +122,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build b/third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/threading_gn/moz.build b/third_party/libwebrtc/rtc_base/threading_gn/moz.build @@ -53,6 +53,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -76,6 +80,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -87,6 +95,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -106,6 +118,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -118,6 +134,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build b/third_party/libwebrtc/rtc_base/timeutils_gn/moz.build @@ -52,6 +52,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build b/third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build b/third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build @@ -9,6 +9,10 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std:c++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True diff --git a/third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build b/third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build @@ -9,6 +9,10 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std:c++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True diff --git a/third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build b/third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build @@ -9,6 +9,10 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std:c++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True diff --git a/third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build b/third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build @@ -9,6 +9,10 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std:c++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True diff --git a/third_party/libwebrtc/rtc_base/win32_gn/moz.build b/third_party/libwebrtc/rtc_base/win32_gn/moz.build @@ -9,6 +9,10 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() +CXXFLAGS += [ + "-std:c++20" +] + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True diff --git a/third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build b/third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build b/third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build b/third_party/libwebrtc/system_wrappers/metrics_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build b/third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build b/third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build @@ -58,6 +58,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -77,6 +81,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -84,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -99,6 +111,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -111,6 +127,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/config/encoder_config_gn/moz.build b/third_party/libwebrtc/video/config/encoder_config_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/config/streams_config_gn/moz.build b/third_party/libwebrtc/video/config/streams_config_gn/moz.build @@ -51,6 +51,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -70,6 +74,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -77,6 +85,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -92,6 +104,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -104,6 +120,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build b/third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build b/third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build b/third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build b/third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build b/third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build b/third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/decode_synchronizer_gn/moz.build b/third_party/libwebrtc/video/decode_synchronizer_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build b/third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/frame_decode_timing_gn/moz.build b/third_party/libwebrtc/video/frame_decode_timing_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build b/third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build b/third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build b/third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/render/video_render_frames_gn/moz.build b/third_party/libwebrtc/video/render/video_render_frames_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build b/third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build b/third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -64,6 +68,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -71,6 +79,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -86,6 +98,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -98,6 +114,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/video_gn/moz.build b/third_party/libwebrtc/video/video_gn/moz.build @@ -69,6 +69,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -88,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -95,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -110,6 +122,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -122,6 +138,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build b/third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -68,6 +72,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -75,6 +83,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -90,6 +102,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -102,6 +118,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" diff --git a/third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build b/third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build @@ -50,6 +50,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -69,6 +73,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -76,6 +84,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -91,6 +103,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -103,6 +119,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000" 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 @@ -58,6 +58,10 @@ if CONFIG["MOZ_DEBUG"] == "1": if CONFIG["OS_TARGET"] == "Android": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["ANDROID"] = True DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" DEFINES["HAVE_SYS_UIO_H"] = True @@ -77,6 +81,10 @@ if CONFIG["OS_TARGET"] == "Android": if CONFIG["OS_TARGET"] == "Darwin": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["WEBRTC_MAC"] = True DEFINES["WEBRTC_POSIX"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True @@ -84,6 +92,10 @@ if CONFIG["OS_TARGET"] == "Darwin": if CONFIG["OS_TARGET"] == "Linux": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" @@ -99,6 +111,10 @@ if CONFIG["OS_TARGET"] == "Linux": if CONFIG["OS_TARGET"] == "OpenBSD": + CXXFLAGS += [ + "-std=gnu++20" + ] + DEFINES["USE_GLIB"] = "1" DEFINES["USE_OZONE"] = "1" DEFINES["WEBRTC_BSD"] = True @@ -111,6 +127,10 @@ if CONFIG["OS_TARGET"] == "OpenBSD": if CONFIG["OS_TARGET"] == "WINNT": + CXXFLAGS += [ + "-std:c++20" + ] + DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True DEFINES["NOMINMAX"] = True DEFINES["NTDDI_VERSION"] = "0x0A000000"