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

Side by Side Diff: gyp_skia

Issue 14963005: Make make.bat and gyp_skia work with VS 2012. (Closed) Base URL: http://skia.googlecode.com/svn/trunk
Patch Set: remove empty echos Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | make.bat » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright 2011 The Android Open Source Project 3 # Copyright 2011 The Android Open Source Project
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 # This script is a wrapper which invokes gyp with the correct --depth argument, 8 # This script is a wrapper which invokes gyp with the correct --depth argument,
9 # and supports the automatic regeneration of build files if all.gyp is 9 # and supports the automatic regeneration of build files if all.gyp is
10 # changed (Linux-only). 10 # changed (Linux-only).
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 # Tell gyp to write the Makefiles into output_dir 107 # Tell gyp to write the Makefiles into output_dir
108 args.extend(['--generator-output', os.path.abspath(get_output_dir())]) 108 args.extend(['--generator-output', os.path.abspath(get_output_dir())])
109 109
110 # Tell make to write its output into the same dir 110 # Tell make to write its output into the same dir
111 args.extend(['-Goutput_dir=.']) 111 args.extend(['-Goutput_dir=.'])
112 112
113 # By default, we build 'most' instead of 'all' or 'everything'. See skia.gyp. 113 # By default, we build 'most' instead of 'all' or 'everything'. See skia.gyp.
114 args.extend(['-Gdefault_target=most']) 114 args.extend(['-Gdefault_target=most'])
115 115
116 # Special arguments for generating Visual Studio projects:
117 # - msvs_version forces generation of Visual Studio 2010 project so that we
epoger 2013/05/07 15:19:17 I take it that "make <target>" still works after t
118 # can use msbuild.exe
119 # - msvs_abspath_output is a workaround for
120 # http://code.google.com/p/gyp/issues/detail?id=201
121 args.extend(['-Gmsvs_version=2010'])
122
123 print 'Updating projects from gyp files...' 116 print 'Updating projects from gyp files...'
124 sys.stdout.flush() 117 sys.stdout.flush()
125 118
126 # Off we go... 119 # Off we go...
127 sys.exit(gyp.main(args)) 120 sys.exit(gyp.main(args))
OLDNEW
« no previous file with comments | « no previous file | make.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698