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

Side by Side Diff: tools/build.py

Issue 12690002: - Add simarm and simmips to --arch=all for builds and tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 | tools/testing/dart/test_options.dart » ('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/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 # 6 #
7 7
8 import optparse 8 import optparse
9 import os 9 import os
10 import shutil 10 import shutil
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 53
54 def ProcessOsOption(os): 54 def ProcessOsOption(os):
55 if os == 'host': 55 if os == 'host':
56 return HOST_OS 56 return HOST_OS
57 return os 57 return os
58 58
59 59
60 def ProcessOptions(options, args): 60 def ProcessOptions(options, args):
61 if options.arch == 'all': 61 if options.arch == 'all':
62 options.arch = 'ia32,x64' 62 options.arch = 'ia32,x64,simarm,simmips'
63 if options.mode == 'all': 63 if options.mode == 'all':
64 options.mode = 'release,debug' 64 options.mode = 'release,debug'
65 if options.os == 'all': 65 if options.os == 'all':
66 options.os = 'host,android' 66 options.os = 'host,android'
67 options.mode = options.mode.split(',') 67 options.mode = options.mode.split(',')
68 options.arch = options.arch.split(',') 68 options.arch = options.arch.split(',')
69 options.os = options.os.split(',') 69 options.os = options.os.split(',')
70 for mode in options.mode: 70 for mode in options.mode:
71 if not mode in ['debug', 'release']: 71 if not mode in ['debug', 'release']:
72 print "Unknown mode %s" % mode 72 print "Unknown mode %s" % mode
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 process.wait() 320 process.wait()
321 if process.returncode != 0: 321 if process.returncode != 0:
322 print "BUILD FAILED" 322 print "BUILD FAILED"
323 return 1 323 return 1
324 324
325 return 0 325 return 0
326 326
327 327
328 if __name__ == '__main__': 328 if __name__ == '__main__':
329 sys.exit(Main()) 329 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698