webrtc/tools-webrtc/mb
mbonadei 9660627c9d Reland of Setting is_component_build to false by default (patchset #1 id:1 of https://codereview.webrtc.org/2731703004/ )
Reason for revert:
Trying to fix this skipping the check if we are building webrtc within chromium.

Original issue's description:
> Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ )
>
> Reason for revert:
> Breaks chrome rolls
>
> Original issue's description:
> > Setting is_component_build to false by default
> >
> > 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}
> > Committed: 2cb3944ba7
>
> TBR=kjellander@webrtc.org,mbonadei@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6975
>
> Review-Url: https://codereview.webrtc.org/2731703004
> Cr-Commit-Position: refs/heads/master@{#17025}
> Committed: 2d9e7685a5

TBR=kjellander@webrtc.org,tommi@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6975

Review-Url: https://codereview.webrtc.org/2729243003
Cr-Commit-Position: refs/heads/master@{#17027}
2017-03-04 03:41:59 +00:00
..
docs Move tools/mb -> tools-webrtc/mb 2016-12-18 21:14:50 +00:00
gn_isolate_map.pyl Add MB and iOS JSON entries for ortc_unittests. 2017-02-24 07:01:54 +00:00
mb Move tools/mb -> tools-webrtc/mb 2016-12-18 21:14:50 +00:00
mb.bat Move tools/mb -> tools-webrtc/mb 2016-12-18 21:14:50 +00:00
mb.py Reland of iOS: Use JSON for GN configuration instead of MB + remove symbols 2017-02-16 06:38:22 +00:00
mb_config.pyl Reland of Setting is_component_build to false by default (patchset #1 id:1 of https://codereview.webrtc.org/2731703004/ ) 2017-03-04 03:41:59 +00:00
mb_unittest.py Reland of iOS: Use JSON for GN configuration instead of MB + remove symbols 2017-02-16 06:38:22 +00:00
OWNERS Move tools/mb -> tools-webrtc/mb 2016-12-18 21:14:50 +00:00
PRESUBMIT.py Move tools/mb -> tools-webrtc/mb 2016-12-18 21:14:50 +00:00
README.md Move tools/mb -> tools-webrtc/mb 2016-12-18 21:14:50 +00:00

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:

  1. "gen" - the main gyp_chromium / gn gen invocation that generates the Ninja files needed for the build.

  2. "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: