| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # 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 |
| 11 import re | 11 import re |
| 12 import sys | 12 import sys |
| 13 | 13 |
| 14 import bot | 14 import bot |
| 15 | 15 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 46 """ | 46 """ |
| 47 with bot.BuildStep('Build Android'): | 47 with bot.BuildStep('Build Android'): |
| 48 targets = ['dart'] | 48 targets = ['dart'] |
| 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 ' + ' '.join(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) |
| OLD | NEW |