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

Side by Side Diff: make.py

Issue 1273793003: Fix make.py: BUILDTYPE (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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://skia.org. 7 # More info at https://skia.org.
8 # 8 #
9 # Some usage examples: 9 # Some usage examples:
10 # make clean 10 # make clean
11 # make dm 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 = os.environ.get('BUILDTYPE', 'Debug')
21 21
22 # special targets 22 # special targets
23 TARGET_ALL = 'all' 23 TARGET_ALL = 'all'
24 TARGET_CLEAN = 'clean' 24 TARGET_CLEAN = 'clean'
25 TARGET_DEFAULT = 'most' 25 TARGET_DEFAULT = 'most'
26 TARGET_GYP = 'gyp' 26 TARGET_GYP = 'gyp'
27 27
28 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) 28 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
29 OUT_SUBDIR = os.environ.get('SKIA_OUT', 'out') 29 OUT_SUBDIR = os.environ.get('SKIA_OUT', 'out')
30 GYP_SUBDIR = 'gyp' 30 GYP_SUBDIR = 'gyp'
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 print 'unknown platform (os.name=%s, sys.platform=%s); see %s' % ( 163 print 'unknown platform (os.name=%s, sys.platform=%s); see %s' % (
164 os.name, sys.platform, 'https://skia.org/user/quick') 164 os.name, sys.platform, 'https://skia.org/user/quick')
165 sys.exit(1) 165 sys.exit(1)
166 sys.exit(0) 166 sys.exit(0)
167 167
168 168
169 # main() 169 # main()
170 Make(sys.argv[1:]) 170 Make(sys.argv[1:])
171 171
172 172
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698