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

Issue 896663002: gyp_chromium: Better parsing of -G command line flag. (Closed)

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

Description

gyp_chromium: Better parsing of -G command line flag. Handle -G output_dir=foo as well as -Goutput_dir=foo. I'm not sure how common this case is but we have NaCl SDK bot that do this. Getting this wrong results in windows toolchain being installed in 'out/' (which doesn't necessarily exist) rather than the output_dir tree and gyp uses. Add unittests for the affected parts of gyp_chromium. BUG=454594 Committed: https://crrev.com/10ef1e2aa8ebb806ccfe7c52235f0fb76564ee2c Cr-Commit-Position: refs/heads/master@{#314381}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -19 lines) Patch
A build/PRESUBMIT.py View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M build/gyp_chromium View 1 2 3 4 3 chunks +15 lines, -19 lines 0 comments Download
A build/gyp_chromium_test.py View 1 2 3 4 1 chunk +66 lines, -0 lines 2 comments Download

Messages

Total messages: 27 (8 generated)
Sam Clegg
5 years, 10 months ago (2015-02-03 00:10:18 UTC) #2
scottmg
https://codereview.chromium.org/896663002/diff/20001/build/gyp_chromium File build/gyp_chromium (right): https://codereview.chromium.org/896663002/diff/20001/build/gyp_chromium#newcode145 build/gyp_chromium:145: # want to ignore all arguments other than "-G". ...
5 years, 10 months ago (2015-02-03 00:21:32 UTC) #4
jamesr
5 years, 10 months ago (2015-02-03 00:41:17 UTC) #6
jamesr
scottmg@ is the reviewer you want
5 years, 10 months ago (2015-02-03 00:41:33 UTC) #8
Sam Clegg
On 2015/02/03 00:21:32, scottmg wrote: > https://codereview.chromium.org/896663002/diff/20001/build/gyp_chromium > File build/gyp_chromium (right): > > https://codereview.chromium.org/896663002/diff/20001/build/gyp_chromium#newcode145 > ...
5 years, 10 months ago (2015-02-03 00:46:17 UTC) #9
jamesr
I'm pretty sure I didn't write that comment (although I'm not 100% sure of that, ...
5 years, 10 months ago (2015-02-03 00:48:05 UTC) #10
scottmg
On 2015/02/03 00:46:17, Sam Clegg wrote: > On 2015/02/03 00:21:32, scottmg wrote: > > https://codereview.chromium.org/896663002/diff/20001/build/gyp_chromium ...
5 years, 10 months ago (2015-02-03 00:48:28 UTC) #11
scottmg
On 2015/02/03 00:48:05, jamesr wrote: > I'm pretty sure I didn't write that comment (although ...
5 years, 10 months ago (2015-02-03 00:51:24 UTC) #12
jamesr
2014 jamesr was basically a different human - it doesn't count!
5 years, 10 months ago (2015-02-03 00:57:43 UTC) #14
Sam Clegg
Looks like that comment was cargo culted from the GetGypVars().. original author was brettw :) ...
5 years, 10 months ago (2015-02-03 01:20:11 UTC) #15
scottmg
lgtm https://codereview.chromium.org/896663002/diff/60001/build/gyp_chromium File build/gyp_chromium (right): https://codereview.chromium.org/896663002/diff/60001/build/gyp_chromium#newcode141 build/gyp_chromium:141: # handle command line generator flags nit; capital ...
5 years, 10 months ago (2015-02-03 01:26:45 UTC) #16
Sam Clegg
I decided to add some unittests here for peace of mind (is that crazy?). If ...
5 years, 10 months ago (2015-02-03 02:04:13 UTC) #17
scottmg
nit; "effected" in cl description should be "affected". On 2015/02/03 02:04:13, Sam Clegg wrote: > ...
5 years, 10 months ago (2015-02-03 02:08:56 UTC) #18
scottmg
https://codereview.chromium.org/896663002/diff/80001/build/gyp_chromium_test.py File build/gyp_chromium_test.py (right): https://codereview.chromium.org/896663002/diff/80001/build/gyp_chromium_test.py#newcode19 build/gyp_chromium_test.py:19: gyp_chromium = __import__('gyp_chromium') there is a .py because it's ...
5 years, 10 months ago (2015-02-03 02:09:18 UTC) #19
Sam Clegg
https://codereview.chromium.org/896663002/diff/80001/build/gyp_chromium_test.py File build/gyp_chromium_test.py (right): https://codereview.chromium.org/896663002/diff/80001/build/gyp_chromium_test.py#newcode19 build/gyp_chromium_test.py:19: gyp_chromium = __import__('gyp_chromium') On 2015/02/03 02:09:18, scottmg wrote: > ...
5 years, 10 months ago (2015-02-03 02:10:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896663002/80001
5 years, 10 months ago (2015-02-03 02:13:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896663002/80001
5 years, 10 months ago (2015-02-03 18:34:12 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-03 19:24:41 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 19:26:45 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/10ef1e2aa8ebb806ccfe7c52235f0fb76564ee2c
Cr-Commit-Position: refs/heads/master@{#314381}

Powered by Google App Engine
This is Rietveld 408576698