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

Issue 1168513006: Make swarming work w/ GN (kinda) (Closed)

Created:
5 years, 6 months ago by Dirk Pranke
Modified:
5 years, 6 months ago
Reviewers:
brettw, M-A Ruel
CC:
chromium-reviews, erikwright+watch_chromium.org, Vadim Sh., scottmg, tfarina, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make swarming work w/ GN (kinda). This patch implements the basic functionality needed to make swarming and isolates work w/ GN. It relies on GN's existing functionality for dumping the runtime dependencies needed for a target, and adds a new command to MB that will take the runtime deps for a target, compute the command line needed for the target, and then generate the .isolate and .isolate.gen.json files needed for the 'isolate.py batcharchive' command. We still need recipe-side work for swarming to actually work, however. In addition, the way to manage the command lines for a target is a total hack that will need to be cleaned up in subsequent patches. R=maruel@chromium.org, brettw@chromium.org BUG=480053 Committed: https://crrev.com/d811358b035563cc79af2dd836f2719d231a1e36 Cr-Commit-Position: refs/heads/master@{#333114}

Patch Set 1 #

Total comments: 13

Patch Set 2 : update w/ review feedback, gn fixes #

Total comments: 3

Patch Set 3 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -10 lines) Patch
M base/BUILD.gn View 1 1 chunk +7 lines, -0 lines 0 comments Download
M tools/mb/mb.py View 1 2 8 chunks +151 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Dirk Pranke
Brett, please see the comment in //base/BUILD.gn for thoughts on handling directories in data deps. ...
5 years, 6 months ago (2015-06-03 02:24:54 UTC) #1
M-A Ruel
https://codereview.chromium.org/1168513006/diff/1/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1168513006/diff/1/base/BUILD.gn#newcode1323 base/BUILD.gn:1323: "list lines") On 2015/06/03 02:24:54, Dirk Pranke wrote: > ...
5 years, 6 months ago (2015-06-03 15:47:19 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1168513006/diff/1/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1168513006/diff/1/base/BUILD.gn#newcode1323 base/BUILD.gn:1323: "list lines") On 2015/06/03 15:47:18, M-A Ruel wrote: > ...
5 years, 6 months ago (2015-06-03 17:15:50 UTC) #3
Dirk Pranke
okay, apart from needing some unit tests, and the TODO I've commented on, I think ...
5 years, 6 months ago (2015-06-03 23:20:27 UTC) #4
M-A Ruel
lgtm as a first draft then we can figure out for the command line generation. ...
5 years, 6 months ago (2015-06-04 15:52:21 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1168513006/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/1168513006/diff/20001/tools/mb/mb.py#newcode101 tools/mb/mb.py:101: subp.add_argument('input_path', nargs=1, On 2015/06/04 15:52:21, M-A Ruel wrote: > ...
5 years, 6 months ago (2015-06-04 20:30:32 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1168513006/40001
5 years, 6 months ago (2015-06-05 02:15:50 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-05 03:19:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1168513006/40001
5 years, 6 months ago (2015-06-05 19:45:10 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/68802)
5 years, 6 months ago (2015-06-05 19:54:36 UTC) #15
brettw
lgtm
5 years, 6 months ago (2015-06-05 19:57:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1168513006/40001
5 years, 6 months ago (2015-06-05 20:00:57 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-05 20:08:35 UTC) #19
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 20:09:33 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d811358b035563cc79af2dd836f2719d231a1e36
Cr-Commit-Position: refs/heads/master@{#333114}

Powered by Google App Engine
This is Rietveld 408576698