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

Issue 2138693002: [tools] Build generator script (Closed)

Created:
4 years, 5 months ago by Michael Achenbach
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tools] Build generator script Helper script to generate gn arguments based on common developer defaults or builder configurations. BUG=chromium:625791 NOTRY=true Committed: https://crrev.com/7f07809c2c91d7000a4f957df5e804611444def3 Cr-Commit-Position: refs/heads/master@{#37947}

Patch Set 1 #

Patch Set 2 : [tools] Build generator script #

Patch Set 3 : Sanification #

Total comments: 2

Patch Set 4 : Updates - workdir finder and comments #

Patch Set 5 : goma detection + optional gn gen #

Total comments: 20

Patch Set 6 : Review #

Total comments: 7

Patch Set 7 : Review + better docu #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -0 lines) Patch
M infra/mb/mb_config.pyl View 1 2 chunks +24 lines, -0 lines 0 comments Download
A tools/dev/v8gen.py View 1 2 3 4 5 6 1 chunk +244 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
Michael Achenbach
FYI quick-n-dirty showcase how using the mb_config.pyl could look like. Will work more on this ...
4 years, 5 months ago (2016-07-11 09:53:37 UTC) #2
Michael Achenbach
Patch 3 is a ready-to-use prototype.
4 years, 5 months ago (2016-07-11 13:19:50 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2138693002/diff/40001/tools/tool.py File tools/tool.py (right): https://codereview.chromium.org/2138693002/diff/40001/tools/tool.py#newcode141 tools/tool.py:141: self.call_cmd(['gn', 'gen', gn_outdir]) i'd be happier without this call... ...
4 years, 5 months ago (2016-07-12 15:09:08 UTC) #4
Michael Achenbach
Btw: I also need a name and location for the tool. I don't like adding ...
4 years, 5 months ago (2016-07-13 07:35:19 UTC) #5
jochen (gone - plz use gerrit)
On 2016/07/13 at 07:35:19, machenbach wrote: > Btw: I also need a name and location ...
4 years, 5 months ago (2016-07-13 15:20:44 UTC) #6
Michael Achenbach
On 2016/07/13 15:20:44, jochen wrote: > On 2016/07/13 at 07:35:19, machenbach wrote: > > Btw: ...
4 years, 5 months ago (2016-07-13 18:10:37 UTC) #7
Michael Achenbach
+ tandrii for Python readability.
4 years, 5 months ago (2016-07-13 18:16:07 UTC) #9
tandrii(chromium)
https://codereview.chromium.org/2138693002/diff/80001/tools/dev/v8gen.py File tools/dev/v8gen.py (right): https://codereview.chromium.org/2138693002/diff/80001/tools/dev/v8gen.py#newcode51 tools/dev/v8gen.py:51: self.gn_args = args[index + 1:] here and also for ...
4 years, 5 months ago (2016-07-14 12:45:29 UTC) #10
Michael Achenbach
Done. PTAL at patch 6 https://codereview.chromium.org/2138693002/diff/80001/tools/dev/v8gen.py File tools/dev/v8gen.py (right): https://codereview.chromium.org/2138693002/diff/80001/tools/dev/v8gen.py#newcode51 tools/dev/v8gen.py:51: self.gn_args = args[index + ...
4 years, 5 months ago (2016-07-15 14:18:10 UTC) #11
tandrii(chromium)
lgtm https://codereview.chromium.org/2138693002/diff/80001/tools/dev/v8gen.py File tools/dev/v8gen.py (right): https://codereview.chromium.org/2138693002/diff/80001/tools/dev/v8gen.py#newcode171 tools/dev/v8gen.py:171: self.verbose_print_1("Appending \"\"\"\n%s\n\"\"\" to %s." % ( On 2016/07/15 ...
4 years, 5 months ago (2016-07-15 14:37:25 UTC) #12
Michael Achenbach
@jochen,vogelheim: maybe take another look at patch 6?
4 years, 5 months ago (2016-07-18 08:17:29 UTC) #13
jochen (gone - plz use gerrit)
still lgtm https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py File tools/dev/v8gen.py (right): https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py#newcode15 tools/dev/v8gen.py:15: v8gen.py -b x64.release foo shouldn't that be ...
4 years, 5 months ago (2016-07-18 11:28:30 UTC) #14
vogelheim
lgtm https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py File tools/dev/v8gen.py (right): https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py#newcode42 tools/dev/v8gen.py:42: return ''.join(c if (c.isalnum() or c == '.') ...
4 years, 5 months ago (2016-07-18 18:28:26 UTC) #15
jochen (gone - plz use gerrit)
any eta for landing? :)
4 years, 5 months ago (2016-07-21 10:36:17 UTC) #16
Michael Achenbach
Patch 7 addresses review comments and tidies the documentation. The script now reuses the python ...
4 years, 5 months ago (2016-07-21 13:13:29 UTC) #17
Michael Achenbach
Landing now as is - will rework more in follow ups if necessary.
4 years, 5 months ago (2016-07-21 13:15:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138693002/120001
4 years, 5 months ago (2016-07-21 13:19:01 UTC) #23
vogelheim
https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py File tools/dev/v8gen.py (right): https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py#newcode42 tools/dev/v8gen.py:42: return ''.join(c if (c.isalnum() or c == '.') else ...
4 years, 5 months ago (2016-07-21 13:19:54 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-21 13:20:23 UTC) #26
Michael Achenbach
On 2016/07/21 13:19:54, vogelheim wrote: > https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py > File tools/dev/v8gen.py (right): > > https://codereview.chromium.org/2138693002/diff/100001/tools/dev/v8gen.py#newcode42 > ...
4 years, 5 months ago (2016-07-21 13:21:09 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 13:23:57 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7f07809c2c91d7000a4f957df5e804611444def3
Cr-Commit-Position: refs/heads/master@{#37947}

Powered by Google App Engine
This is Rietveld 408576698