Chromium Code Reviews

Side by Side Diff: scripts/slave/compile.py

Issue 7218071: V8 buildbot: change sample to d8 from shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« 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 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
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 """A tool to build chrome, executed by buildbot. 6 """A tool to build chrome, executed by buildbot.
7 7
8 When this is run, the current directory (cwd) should be the outer build 8 When this is run, the current directory (cwd) should be the outer build
9 directory (e.g., chrome-release/build/). 9 directory (e.g., chrome-release/build/).
10 10
(...skipping 440 matching lines...)
451 451
452 env = os.environ.copy() 452 env = os.environ.copy()
453 if sys.platform == 'linux2': 453 if sys.platform == 'linux2':
454 common_linux_settings(command, options, env) 454 common_linux_settings(command, options, env)
455 else: 455 else:
456 command.extend(['-k']) 456 command.extend(['-k'])
457 457
458 command.extend([ 458 command.extend([
459 # Force scons to always check for dependency changes. 459 # Force scons to always check for dependency changes.
460 'mode=' + options.target, 460 'mode=' + options.target,
461 'sample=shell' 461 'sample=d8'
Mads Ager (chromium) 2011/06/30 07:06:24 It should not be sample=d8 it should just be d8.
Rico 2011/06/30 07:07:08 Done.
462 ]) 462 ])
463 463
464 command.extend(options.build_args + args) 464 command.extend(options.build_args + args)
465 return chromium_utils.RunCommand(command, env=env) 465 return chromium_utils.RunCommand(command, env=env)
466 466
467 467
468 468
469 def main_win(options, args): 469 def main_win(options, args):
470 """Interprets options, clobbers object files, and calls the build tool. 470 """Interprets options, clobbers object files, and calls the build tool.
471 """ 471 """
(...skipping 189 matching lines...)
661 main = build_tool_map.get(options.build_tool) 661 main = build_tool_map.get(options.build_tool)
662 if not main: 662 if not main:
663 sys.stderr.write('Unknown build tool %s.\n' % repr(options.build_tool)) 663 sys.stderr.write('Unknown build tool %s.\n' % repr(options.build_tool))
664 return 2 664 return 2
665 665
666 return main(options, args) 666 return main(options, args)
667 667
668 668
669 if '__main__' == __name__: 669 if '__main__' == __name__:
670 sys.exit(real_main()) 670 sys.exit(real_main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine