aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp_skia
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-13 21:30:14 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-13 21:30:14 +0000
commit0fb212581440a63edcc695a34302e96605989a11 (patch)
tree68753818d07bb52d194426b14fd43fbf6304506a /gyp_skia
parentba7983e55ce15ddcd5534011935178760164fb9d (diff)
enable "make XXX" command-line builds on Windows
Diffstat (limited to 'gyp_skia')
-rwxr-xr-xgyp_skia8
1 files changed, 8 insertions, 0 deletions
diff --git a/gyp_skia b/gyp_skia
index ee8c17c2cc..8554412474 100755
--- a/gyp_skia
+++ b/gyp_skia
@@ -80,6 +80,14 @@ if __name__ == '__main__':
# 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()