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

Issue 2027823002: Update mb.py to support gn directories with no args.gn (Closed)

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

Description

Update mb.py to support gn directories with no args.gn A newly generated gn directory doesn't have an args.gn file so mb.py needs to account for that. This is done by using toolchain.ninja to identify a gn directory, and by teaching GNValsFromDir to handle a missing args.gn file. The unittest was also updated to provide the toolchain.ninja file. BUG=616631 Committed: https://crrev.com/ecc0c1cd87f50efda32b82494c0c12b27798264b Cr-Commit-Position: refs/heads/master@{#397476}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Proper detection of gn directories #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M tools/mb/mb.py View 1 2 chunks +7 lines, -4 lines 0 comments Download
M tools/mb/mb_unittest.py View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
brucedawson
While doing some isolate testing I was stumped by this error message for a while. ...
4 years, 6 months ago (2016-05-31 20:28:43 UTC) #2
Dirk Pranke
https://codereview.chromium.org/2027823002/diff/1/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2027823002/diff/1/tools/mb/mb.py#newcode535 tools/mb/mb.py:535: (gn_args_path, build_dir, build_dir)) Ah, good catch. However, the MB ...
4 years, 6 months ago (2016-05-31 20:39:03 UTC) #3
brucedawson
https://codereview.chromium.org/2027823002/diff/1/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2027823002/diff/1/tools/mb/mb.py#newcode535 tools/mb/mb.py:535: (gn_args_path, build_dir, build_dir)) Making "it just work" would be ...
4 years, 6 months ago (2016-05-31 20:44:03 UTC) #4
Dirk Pranke
https://codereview.chromium.org/2027823002/diff/1/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2027823002/diff/1/tools/mb/mb.py#newcode535 tools/mb/mb.py:535: (gn_args_path, build_dir, build_dir)) On 2016/05/31 20:44:03, brucedawson wrote: > ...
4 years, 6 months ago (2016-05-31 20:48:23 UTC) #5
brucedawson
mb.py isolate now handles freshly generated gn directories, and the tests pass. I thought about ...
4 years, 6 months ago (2016-06-01 23:45:38 UTC) #7
Dirk Pranke
lgtm, thanks!
4 years, 6 months ago (2016-06-02 00:30:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2027823002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2027823002/20001
4 years, 6 months ago (2016-06-02 00:52:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/179474)
4 years, 6 months ago (2016-06-02 01:59:49 UTC) #13
brucedawson
On 2016/06/02 01:59:49, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-02 16:57:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2027823002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2027823002/20001
4 years, 6 months ago (2016-06-02 16:58:32 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-02 18:25:13 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 18:26:24 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ecc0c1cd87f50efda32b82494c0c12b27798264b
Cr-Commit-Position: refs/heads/master@{#397476}

Powered by Google App Engine
This is Rietveld 408576698