forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1773223 - Make the GN processor an independent script. r=firefox-…
…build-system-reviewers,mjf,ahochheiden The way the processor works currently is that it relies on two different build backends, one of which produces json files for specific configurations, and the other which produces moz.build files from the aggregate of all those configs. Each of these json files is huge, and we actually don't have enough to support all the platforms we're supposed to be supporting. Adding more files is not enticing. Now that we've made the first step described above work in a single pass on a single machine (as opposed to multiple passes on multiple machines previously), we can actually merge both steps and avoid producing the intermediate json files altogether. This will allow to add more configurations without having to worry about the weight of those files. And because this all doesn't need to depend on having the first step hooked up in the build system, we make the whole an independent script rather than a build backend. Differential Revision: https://phabricator.services.mozilla.com/D149210
- Loading branch information
Showing
46 changed files
with
185 additions
and
1,483,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
dom/media/webrtc/third_party_build/gn-configs/fixup_json.py
This file was deleted.
Oops, something went wrong.
82 changes: 0 additions & 82 deletions
82
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"target_dir": "third_party/libwebrtc", | ||
"gn_target": "//:webrtc", | ||
"gn_sandbox_variables": { | ||
"COMPILE_FLAGS": { | ||
"WARNINGS_AS_ERRORS": [] | ||
}, | ||
"FINAL_LIBRARY": "webrtc" | ||
}, | ||
"mozilla_flags": [ | ||
"-fobjc-arc", | ||
"-mavx2", | ||
"-mfma", | ||
"-mfpu=neon", | ||
"-msse2" | ||
], | ||
"write_mozbuild_variables": { | ||
"INCLUDE_TK_CFLAGS_DIRS": [ | ||
"third_party/libwebrtc/modules/desktop_capture/desktop_capture_generic_gn" | ||
] | ||
}, | ||
"non_unified_sources": [ | ||
"third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc", | ||
"third_party/libwebrtc/audio/channel_send_frame_transformer_delegate.cc", | ||
"third_party/libwebrtc/common_audio/vad/vad_core.c", | ||
"third_party/libwebrtc/common_audio/vad/webrtc_vad.c", | ||
"third_party/libwebrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c", | ||
"third_party/libwebrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.c", | ||
"third_party/libwebrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c", | ||
"third_party/libwebrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c", | ||
"third_party/libwebrtc/modules/audio_coding/neteq/audio_vector.cc", | ||
"third_party/libwebrtc/modules/audio_device/android/audio_manager.cc", | ||
"third_party/libwebrtc/modules/audio_device/android/audio_record_jni.cc", | ||
"third_party/libwebrtc/modules/audio_device/android/audio_track_jni.cc", | ||
"third_party/libwebrtc/modules/audio_device/android/opensles_player.cc", | ||
"third_party/libwebrtc/modules/audio_device/linux/audio_device_pulse_linux.cc", | ||
"third_party/libwebrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc", | ||
"third_party/libwebrtc/modules/audio_device/win/audio_device_core_win.cc", | ||
"third_party/libwebrtc/modules/audio_processing/aecm/aecm_core.cc", | ||
"third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc", | ||
"third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc", | ||
"third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc", | ||
"third_party/libwebrtc/modules/audio_processing/aecm/echo_control_mobile.cc", | ||
"third_party/libwebrtc/modules/audio_processing/echo_control_mobile_impl.cc", | ||
"third_party/libwebrtc/modules/audio_processing/echo_detector/normalized_covariance_estimator.cc", | ||
"third_party/libwebrtc/modules/audio_processing/gain_control_impl.cc", | ||
"third_party/libwebrtc/modules/audio_processing/rms_level.cc", | ||
"third_party/libwebrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc", | ||
"third_party/libwebrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc", | ||
"third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/flexfec_receiver.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtcp_sender.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtp_rtcp_impl2.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtp_sender_egress.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/rtp_sender_video.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/ulpfec_generator.cc", | ||
"third_party/libwebrtc/modules/rtp_rtcp/source/video_rtp_depacketizer_vp9.cc", | ||
"third_party/libwebrtc/modules/third_party/g722/g722_encode.c", | ||
"third_party/libwebrtc/modules/video_capture/windows/device_info_ds.cc", | ||
"third_party/libwebrtc/modules/video_capture/windows/help_functions_ds.cc", | ||
"third_party/libwebrtc/modules/video_capture/windows/sink_filter_ds.cc", | ||
"third_party/libwebrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc", | ||
"third_party/libwebrtc/third_party/abseil-cpp/absl/strings/numbers.cc", | ||
"third_party/libwebrtc/third_party/abseil-cpp/absl/synchronization/blocking_counter.cc", | ||
"third_party/libwebrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc", | ||
"third_party/libwebrtc/third_party/abseil-cpp/absl/time/time.cc", | ||
"third_party/libwebrtc/video/rtp_video_stream_receiver2.cc", | ||
"third_party/libwebrtc/video/video_receive_stream.cc" | ||
] | ||
} |
Oops, something went wrong.