Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Issue 1062613004: Implement mb - a meta-build wrapper for bots to use in the GYP->GN migration. (Closed)

Created:
5 years, 8 months ago by Dirk Pranke
Modified:
5 years, 8 months ago
Reviewers:
brettw, scottmg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement mb - a meta-build wrapper for bots to use in the GYP->GN migration. This CL implements a new tool called mb (//tools/mb) that wraps both GYP and GN to implement the 'gen' and 'analyze' steps on the bots. It serves three purposes: 1. To move the decision to use GYP or GN to generate the build files to a configuration stored in the repo (and to hide it from the bots). 2. To move which flags are used to a configuration stored in the repo, so that we can version the flags alongside the code, and change the flags without needing to change things in the build repo. 3. To consolidate a list of all of the different build configs we need to support and verify for the GYP->GN migration. For more details on the above, see //tools/md/README.md and the linked docs. R=scottmg@chromium.org, brettw@chromium.org BUG=466436 Committed: https://crrev.com/fe4602310d2a93867c24dbd28447a26fb991540f Cr-Commit-Position: refs/heads/master@{#324231}

Patch Set 1 #

Total comments: 8

Patch Set 2 : update w/ comments from review #

Patch Set 3 : fix typo in exception name #

Patch Set 4 : bug fixes and tests, reorganize mb_config.pyl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1208 lines, -0 lines) Patch
A tools/mb/README.md View 1 chunk +22 lines, -0 lines 0 comments Download
A tools/mb/docs/design_spec.md View 1 1 chunk +156 lines, -0 lines 0 comments Download
A tools/mb/docs/user_guide.md View 1 2 3 1 chunk +193 lines, -0 lines 0 comments Download
A tools/mb/mb View 1 chunk +8 lines, -0 lines 0 comments Download
A tools/mb/mb.bat View 1 chunk +6 lines, -0 lines 0 comments Download
A tools/mb/mb.py View 1 2 3 1 chunk +511 lines, -0 lines 0 comments Download
A tools/mb/mb_config.pyl View 1 2 3 1 chunk +170 lines, -0 lines 0 comments Download
A tools/mb/mb_unittest.py View 1 2 3 1 chunk +142 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Dirk Pranke
Okay, here's a revised version of the meta-build wrapper, with all of the user-facing, build-multiple-things-at-once, ...
5 years, 8 months ago (2015-04-04 02:14:42 UTC) #1
brettw
lgtm https://codereview.chromium.org/1062613004/diff/1/tools/mb/docs/design_spec.md File tools/mb/docs/design_spec.md (right): https://codereview.chromium.org/1062613004/diff/1/tools/mb/docs/design_spec.md#newcode130 tools/mb/docs/design_spec.md:130: * MB is not (yet?) intended to replace ...
5 years, 8 months ago (2015-04-06 20:03:06 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1062613004/diff/1/tools/mb/docs/design_spec.md File tools/mb/docs/design_spec.md (right): https://codereview.chromium.org/1062613004/diff/1/tools/mb/docs/design_spec.md#newcode130 tools/mb/docs/design_spec.md:130: * MB is not (yet?) intended to replace direct ...
5 years, 8 months ago (2015-04-06 20:09:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1062613004/60001
5 years, 8 months ago (2015-04-08 15:38:20 UTC) #6
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-08 16:20:51 UTC) #7
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 16:22:01 UTC) #8
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fe4602310d2a93867c24dbd28447a26fb991540f
Cr-Commit-Position: refs/heads/master@{#324231}

Powered by Google App Engine
This is Rietveld 408576698