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

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

Issue 11465017: Build samples on android bot (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 Builds the android target. 44 Builds the android target.
45 45
46 - build_info: the buildInfo object, containing information about what sort of 46 - build_info: the buildInfo object, containing information about what sort of
47 build and test to be run. 47 build and test to be run.
48 """ 48 """
49 with bot.BuildStep('Build Android'): 49 with bot.BuildStep('Build Android'):
50 # TODO(vsm): A temporary hack until we figure out why incremental builds are 50 # TODO(vsm): A temporary hack until we figure out why incremental builds are
51 # broken on Android. 51 # broken on Android.
52 if os.path.exists('./out/lastHooksTargetOS.txt'): 52 if os.path.exists('./out/lastHooksTargetOS.txt'):
53 os.remove('./out/lastHooksTargetOS.txt') 53 os.remove('./out/lastHooksTargetOS.txt')
54 targets = ['android_embedder'] 54 targets = ['samples']
55 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 55 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
56 '--os=android'] + targets 56 '--os=android'] + targets
57 print 'Building Android: %s' % (' '.join(args)) 57 print 'Building Android: %s' % (' '.join(args))
58 bot.RunProcess(args) 58 bot.RunProcess(args)
59 59
60 if __name__ == '__main__': 60 if __name__ == '__main__':
61 bot.RunBot(AndroidConfig, AndroidSteps, build_step=BuildAndroid) 61 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