enable "make XXX" command-line builds on Windows
http://codereview.appspot.com/4717044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1853 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp_skia b/gyp_skia
index ee8c17c..8554412 100755
--- a/gyp_skia
+++ b/gyp_skia
@@ -80,6 +80,14 @@
# Tell make to write its output into the same dir
args.extend(['-Goutput_dir=.'])
+ # Special arguments for generating Visual Studio projects:
+ # - msvs_version forces generation of Visual Studio 2010 project so that we
+ # can use msbuild.exe
+ # - msvs_abspath_output is a workaround for
+ # http://code.google.com/p/gyp/issues/detail?id=201
+ args.extend(['-Gmsvs_version=2010'])
+ args.extend(['-Gmsvs_abspath_output'])
+
print 'Updating projects from gyp files...'
sys.stdout.flush()