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

Issue 10310068: ninja: Add '/', '\', and '.' to the set of shell-safe characters. (Closed)

Created:
8 years, 7 months ago by Nico
Modified:
8 years, 7 months ago
Reviewers:
Mark Mentovai, scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

ninja: Add '/', '\', and '.' to the set of shell-safe characters. With this, -I flags no longer get escaped. This is mostly OCD, but a back-of-the-envelope calculation says that this might make empty builds faster by 20ms or so. Committed: https://code.google.com/p/gyp/source/detail?r=1368

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pylib/gyp/generator/ninja.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Nico
8 years, 7 months ago (2012-05-08 21:09:42 UTC) #1
scottmg
On 2012/05/08 21:09:42, Nico wrote: I don't think the re matches the comment. I think ...
8 years, 7 months ago (2012-05-08 21:14:31 UTC) #2
Mark Mentovai
Can you use EncodePOSIXShellArgument from common.py? Or a twist on it?
8 years, 7 months ago (2012-05-08 21:14:40 UTC) #3
scottmg
On 2012/05/08 21:14:31, scottmg wrote: > On 2012/05/08 21:09:42, Nico wrote: > > I don't ...
8 years, 7 months ago (2012-05-08 21:16:11 UTC) #4
Mark Mentovai
In a Python “r” (raw) string, \ doesn’t escape diddly squat.
8 years, 7 months ago (2012-05-08 21:20:27 UTC) #5
scottmg
On 2012/05/08 21:20:27, Mark Mentovai wrote: > In a Python “r” (raw) string, \ doesn’t ...
8 years, 7 months ago (2012-05-08 21:22:04 UTC) #6
Nico
On 2012/05/08 21:14:31, scottmg wrote: > On 2012/05/08 21:09:42, Nico wrote: > > I don't ...
8 years, 7 months ago (2012-05-08 21:29:40 UTC) #7
Nico
On 2012/05/08 21:14:40, Mark Mentovai wrote: > Can you use EncodePOSIXShellArgument from common.py? Or a ...
8 years, 7 months ago (2012-05-08 21:31:29 UTC) #8
scottmg
8 years, 7 months ago (2012-05-08 21:31:35 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698