Permalink
Browse files

Fix for msvs output on non-windows.

Its a useful feature of gyp that one can generate
msvs project on a non-windows machine. This change
fixes the output of .vcproj files on non-windows.

$ ./gyp --toplevel-dir=test/hello --format=msvs  test/hello/hello.gyp

This would previously generate a file called:

"test\\hello\\hello.vcproj"

Tested that the generated vcproj files for chromium
are unaffected.

BUG=

Review URL: https://codereview.chromium.org/10914295

git-svn-id: http://gyp.googlecode.com/svn/trunk@1500 78cadc50-ecff-11dd-a971-7dbc132099af
  • Loading branch information...
1 parent 08fc464 commit 3bd630c5d06d6a985745f24adf7013a5e5984591 sbc@chromium.org committed Sep 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pylib/gyp/generator/msvs.py
@@ -1669,7 +1669,7 @@ def _CreateProjectObjects(target_list, target_dicts, options, msvs_version):
build_file = gyp.common.BuildFile(qualified_target)
# Create object for this project.
obj = MSVSNew.MSVSProject(
- _FixPath(proj_path),
+ proj_path,
name=spec['target_name'],
guid=guid,
spec=spec,

0 comments on commit 3bd630c

Please sign in to comment.