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

Side by Side Diff: dart/tools/bots/compiler.py

Issue 11301019: Don't depend on V8 when creating the SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Change what build bot builds Created 8 years, 1 month 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 | « dart/dart.gyp ('k') | dart/utils/compiler/compiler.gyp » ('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/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """ 7 """
8 Dart2js buildbot steps 8 Dart2js buildbot steps
9 9
10 Runs tests for the dart2js compiler. 10 Runs tests for the dart2js compiler.
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 # See comment in GetHasHardCodedCheckedMode, this is a hack. 287 # See comment in GetHasHardCodedCheckedMode, this is a hack.
288 if (GetHasHardCodedCheckedMode(build_info)): 288 if (GetHasHardCodedCheckedMode(build_info)):
289 TestCompiler(build_info.runtime, build_info.mode, build_info.system, 289 TestCompiler(build_info.runtime, build_info.mode, build_info.system,
290 test_flags + ['--checked'], build_info.is_buildbot, 290 test_flags + ['--checked'], build_info.is_buildbot,
291 build_info.test_set) 291 build_info.test_set)
292 292
293 if build_info.runtime != 'd8': 293 if build_info.runtime != 'd8':
294 CleanUpTemporaryFiles(build_info.system, build_info.runtime) 294 CleanUpTemporaryFiles(build_info.system, build_info.runtime)
295 295
296 296
297 def BuildCompiler(build_info):
298 """
299 Builds the SDK.
300
301 - build_info: the buildInfo object, containing information about what sort of
302 build and test to be run.
303 """
304 with BuildStep('Build SDK and d8'):
305 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
306 'dart2js_bot']
307 print 'Build SDK and d8: %s' % (' '.join(args))
308 RunProcess(args)
309
310
297 if __name__ == '__main__': 311 if __name__ == '__main__':
298 bot.RunBot(GetBuildInfo, RunCompilerTests) 312 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
OLDNEW
« no previous file with comments | « dart/dart.gyp ('k') | dart/utils/compiler/compiler.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698