OLD | NEW |
1 # Copyright 2011 Google Inc. | 1 # Copyright 2011 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # "Makefile" replacement to build skia for Windows. | 6 # "Makefile" replacement to build skia for Windows. |
7 # More info at https://sites.google.com/site/skiadocs/ | 7 # More info at https://sites.google.com/site/skiadocs/ |
8 # | 8 # |
9 # Some usage examples: | 9 # Some usage examples: |
10 # make clean | 10 # make clean |
11 # make tests | 11 # make dm |
12 # make bench BUILDTYPE=Release | 12 # make bench BUILDTYPE=Release |
13 # make gm GYP_DEFINES=skia_scalar=fixed BUILDTYPE=Release | 13 # make gm GYP_DEFINES=skia_scalar=fixed BUILDTYPE=Release |
14 # make all | 14 # make all |
15 | 15 |
16 import os | 16 import os |
17 import shutil | 17 import shutil |
18 import sys | 18 import sys |
19 | 19 |
20 BUILDTYPE = 'Debug' | 20 BUILDTYPE = 'Debug' |
21 | 21 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 print 'unknown platform (os.name=%s, sys.platform=%s); see %s' % ( | 164 print 'unknown platform (os.name=%s, sys.platform=%s); see %s' % ( |
165 os.name, sys.platform, 'https://sites.google.com/site/skiadocs/') | 165 os.name, sys.platform, 'https://sites.google.com/site/skiadocs/') |
166 sys.exit(1) | 166 sys.exit(1) |
167 sys.exit(0) | 167 sys.exit(0) |
168 | 168 |
169 | 169 |
170 # main() | 170 # main() |
171 Make(sys.argv[1:]) | 171 Make(sys.argv[1:]) |
172 | 172 |
173 | 173 |
OLD | NEW |