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

Issue 10829049: Fix bug: non-cygwin actions incorrectly run options through _FixPath. (Closed)

Created:
8 years, 5 months ago by iannucci
Modified:
8 years, 4 months ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Fix bug: non-cygwin actions incorrectly run options through _FixPath. This adds an additional heuristic to the existing one. Now if an option begins with either a '/' OR a '-', it assumes it's not a strict path. Added a TODO which notes that the existing (and new) behavior will miss options such as '--opt=a/posix/path', and '/opt:a/posix/path'. Committed: https://code.google.com/p/gyp/source/detail?r=1441

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M pylib/gyp/generator/msvs.py View 1 chunk +5 lines, -2 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
iannucci
Just about what it says in the CL description. I was running into an issue ...
8 years, 4 months ago (2012-07-27 00:19:51 UTC) #1
scottmg
That is yuck. lgtm. https://chromiumcodereview.appspot.com/10829049/diff/1/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://chromiumcodereview.appspot.com/10829049/diff/1/pylib/gyp/generator/msvs.py#newcode302 pylib/gyp/generator/msvs.py:302: arguments = [i if (i[:1] ...
8 years, 4 months ago (2012-07-27 00:31:49 UTC) #2
iannucci
On 2012/07/27 00:31:49, scottmg wrote: > That is yuck. lgtm. > > https://chromiumcodereview.appspot.com/10829049/diff/1/pylib/gyp/generator/msvs.py > File ...
8 years, 4 months ago (2012-07-27 00:33:20 UTC) #3
scottmg
On 2012/07/27 00:33:20, iannucci wrote: > On 2012/07/27 00:31:49, scottmg wrote: > > That is ...
8 years, 4 months ago (2012-07-27 00:35:41 UTC) #4
iannucci
On 2012/07/27 00:35:41, scottmg wrote: > On 2012/07/27 00:33:20, iannucci wrote: > > On 2012/07/27 ...
8 years, 4 months ago (2012-07-27 00:38:54 UTC) #5
Sheridan Rawlins
8 years, 4 months ago (2012-07-27 01:12:38 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698