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

Unified 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, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/dart.gyp ('k') | dart/utils/compiler/compiler.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/bots/compiler.py
diff --git a/dart/tools/bots/compiler.py b/dart/tools/bots/compiler.py
index 35f0d79592a0c5b5bedb35c4d29fc89765a1b21e..06072149fc7406b79b1b4eb2bf07a1b6bbd0841b 100644
--- a/dart/tools/bots/compiler.py
+++ b/dart/tools/bots/compiler.py
@@ -294,5 +294,19 @@ def RunCompilerTests(build_info):
CleanUpTemporaryFiles(build_info.system, build_info.runtime)
+def BuildCompiler(build_info):
+ """
+ Builds the SDK.
+
+ - build_info: the buildInfo object, containing information about what sort of
+ build and test to be run.
+ """
+ with BuildStep('Build SDK and d8'):
+ args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
+ 'dart2js_bot']
+ print 'Build SDK and d8: %s' % (' '.join(args))
+ RunProcess(args)
+
+
if __name__ == '__main__':
- bot.RunBot(GetBuildInfo, RunCompilerTests)
+ bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
« 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