suriab / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Make all paths to be in POSIX style and only use Windows paths when generating #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, this is an issue in MakePathRelative and LoadTargetBuildFile, and 
possibly in other places. In some cases, gyp.common.RelativePath is 
generating Windows-style paths and that interferes with resolving of paths.

Original issue reported on code.google.com by dglazkov@chromium.org on 23 Apr 2010 at 9:40

GoogleCodeExporter commented 9 years ago
I will add that I've noticed that having a url like 
"https://github.com/downloads/mapbox/cefclient/cefclient-0.0.2.tar.gz" as an 
argument to a gyp action on windows will end up with a path incorrectly made 
absolute. I noticed this because a .gyp script that worked fine on mac and 
linux broke on windows because my custom action tried to download a url like 
`..\..\https://github.com/downloads/mapbox/cefclient/cefclient-0.0.2.tar.gz'

Original comment by d...@mapbox.com on 11 Jul 2013 at 5:57