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

Side by Side Diff: tools/bots/android.py

Issue 11446016: Fix build step on android bot (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix target Created 8 years 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 | 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 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 Android buildbot steps. 8 Android buildbot steps.
9 """ 9 """
10 10
(...skipping 27 matching lines...) Expand all
38 pass 38 pass
39 39
40 def BuildAndroid(build_info): 40 def BuildAndroid(build_info):
41 """ 41 """
42 Builds the android target. 42 Builds the android target.
43 43
44 - build_info: the buildInfo object, containing information about what sort of 44 - build_info: the buildInfo object, containing information about what sort of
45 build and test to be run. 45 build and test to be run.
46 """ 46 """
47 with bot.BuildStep('Build Android'): 47 with bot.BuildStep('Build Android'):
48 targets = ['dart'] 48 targets = ['android_embedder']
49 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 49 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
50 '--os=android ' + ' '.join(targets)] 50 '--os=android'] + targets
51 print 'Building Android: %s' % (' '.join(args)) 51 print 'Building Android: %s' % (' '.join(args))
52 bot.RunProcess(args) 52 bot.RunProcess(args)
53 53
54 if __name__ == '__main__': 54 if __name__ == '__main__':
55 bot.RunBot(AndroidConfig, AndroidSteps, build_step=BuildAndroid) 55 bot.RunBot(AndroidConfig, AndroidSteps, build_step=BuildAndroid)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698