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

Side by Side Diff: tools/build.py

Issue 423483002: Fix merge problems in r38573, a cleanup of build scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/bots/linux_distribution_support.py ('k') | tools/dom/scripts/dartdomgenerator.py » ('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 re 10 import re
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 if HOST_OS == 'freebsd': 417 if HOST_OS == 'freebsd':
418 make = 'gmake' 418 make = 'gmake'
419 # work around lack of flock 419 # work around lack of flock
420 os.environ['LINK'] = '$(CXX)' 420 os.environ['LINK'] = '$(CXX)'
421 args = [make, 421 args = [make,
422 '-j', 422 '-j',
423 options.j, 423 options.j,
424 'BUILDTYPE=' + build_config, 424 'BUILDTYPE=' + build_config,
425 ] 425 ]
426 if target_os != HOST_OS: 426 if target_os != HOST_OS:
427 args += ['builddir_name=' + utils.GetBuildDir(HOST_OS, target_os)] 427 args += ['builddir_name=' + utils.GetBuildDir(HOST_OS)]
428 if options.verbose: 428 if options.verbose:
429 args += ['V=1'] 429 args += ['V=1']
430 430
431 args += [target] 431 args += [target]
432 432
433 toolsOverride = None 433 toolsOverride = None
434 if override_tools: 434 if override_tools:
435 toolsOverride = SetTools(arch, target_os, options) 435 toolsOverride = SetTools(arch, target_os, options)
436 if toolsOverride: 436 if toolsOverride:
437 for k, v in toolsOverride.iteritems(): 437 for k, v in toolsOverride.iteritems():
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 else: 534 else:
535 if BuildOneConfig(options, target, target_os, 535 if BuildOneConfig(options, target, target_os,
536 mode, arch, cross_build) != 0: 536 mode, arch, cross_build) != 0:
537 return 1 537 return 1
538 538
539 return 0 539 return 0
540 540
541 541
542 if __name__ == '__main__': 542 if __name__ == '__main__':
543 sys.exit(Main()) 543 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/bots/linux_distribution_support.py ('k') | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698