Inspired by V8 CL: crrev.com/c/3038528. This makes the WebRTC's dcheck control independent of Chromium's and prepares switching Chromium's default behavior without affecting WebRTC developers or builders. Preparation for: https://crrev.com/c/2893204 Bug: chromium:1225701, webrtc:12988 Change-Id: Ia0d21f9fb8e9d7704fd1beca16504c301a263b3b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226465 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Markus Handell <handellm@webrtc.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Cr-Commit-Position: refs/heads/master@{#34512}
MB - The Meta-Build wrapper
MB is a simple wrapper intended to provide a uniform interface to either GYP or GN, such that users and bots can call one script and not need to worry about whether a given bot is meant to use GN or GYP.
It supports two main functions:
-
"gen" - the main
gyp_chromium/gn geninvocation that generates the Ninja files needed for the build. -
"analyze" - the step that takes a list of modified files and a list of desired targets and reports which targets will need to be rebuilt.
We also use MB as a forcing function to collect all of the different
build configurations that we actually support for Chromium builds into
one place, in //tools/mb/mb_config.pyl.
For more information, see: