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

Issue 2064513002: GN: Add Windows support to bootstrap.py (Closed)

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

Description

GN: Add Windows support to bootstrap.py Previously GN could only be bootstrapped on Linux/Mac. This CL adds support for Windows (Visual Studio only at this time). Note that bootstrap.py expects to be run inside a VS2015 Command Prompt (i.e. vcvarsall.bat has been run) Example: > call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" x86 > tools/gn/bootstrap/bootstrap.py BUG= Committed: https://crrev.com/3a32f0297bbd2c5673cf02923244ecfeda927b32 Cr-Commit-Position: refs/heads/master@{#403499}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -83 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/bootstrap/bootstrap.py View 1 11 chunks +268 lines, -70 lines 0 comments Download
M tools/gn/bootstrap/build.ninja.template View 2 chunks +1 line, -7 lines 0 comments Download
M tools/gn/bootstrap/build_mac.ninja.template View 1 chunk +0 lines, -6 lines 0 comments Download
A tools/gn/bootstrap/build_vs.ninja.template View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
timn
4 years, 6 months ago (2016-06-12 19:56:19 UTC) #2
brettw
I don't understand what problem this is trying to solve. Can you elaborate in the ...
4 years, 6 months ago (2016-06-13 00:25:39 UTC) #3
timn
I updated the CL description.
4 years, 6 months ago (2016-06-13 07:53:16 UTC) #5
brettw
Thanks for the decription update, I thought initially this might be targeting the IDE which ...
4 years, 6 months ago (2016-06-13 18:19:44 UTC) #6
timn
https://codereview.chromium.org/2064513002/diff/1/tools/gn/bootstrap/bootstrap.py File tools/gn/bootstrap/bootstrap.py (right): https://codereview.chromium.org/2064513002/diff/1/tools/gn/bootstrap/bootstrap.py#newcode136 tools/gn/bootstrap/bootstrap.py:136: temp_path = os.path.join(root_gen_dir, header + '.tmp') On 2016/06/13 18:19:43, ...
4 years, 6 months ago (2016-06-13 18:56:30 UTC) #7
timn
I renamed write_ninja -> write_generic_ninja and added a few comments to clarify things. PTAL
4 years, 6 months ago (2016-06-22 15:54:22 UTC) #8
brettw
Ugh, sorry I haven't gotten to this yet! I've been super backed up.
4 years, 5 months ago (2016-06-29 22:38:01 UTC) #9
brettw
LGTM. Sorry again for the delay.
4 years, 5 months ago (2016-07-01 18:16:57 UTC) #10
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/2064513002/20001
4 years, 5 months ago (2016-07-01 18:33:11 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-01 19:23:25 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-01 19:23:28 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 19:26:40 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3a32f0297bbd2c5673cf02923244ecfeda927b32
Cr-Commit-Position: refs/heads/master@{#403499}

Powered by Google App Engine
This is Rietveld 408576698