Webrtc does not support component builds so we want to override the chromium default value (which can be true on debug builds if the os is different from iOS). Please note that the user can set this value to true in two ways: - using --args (e.g.: gn gen out/default --args='is_component_build=true' - changing the value in the args.gn file But in both cases the value will be ignored because we don't use the 'component' template but we rely directly on 'rtc_static_library' and 'rtc_shared_library'. BUG=webrtc:6975 NOTRY=True Review-Url: https://codereview.webrtc.org/2728643003 Cr-Commit-Position: refs/heads/master@{#17020}
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: