| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 """ | 6 """ |
| 7 Dartium on Android buildbot steps. | 7 Dartium on Android buildbot steps. |
| 8 | 8 |
| 9 Runs steps after the buildbot builds Dartium on Android, | 9 Runs steps after the buildbot builds Dartium on Android, |
| 10 which should upload the APK to an attached device, and run | 10 which should upload the APK to an attached device, and run |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 print "This script was only tested on linux. Please run it on linux!" | 75 print "This script was only tested on linux. Please run it on linux!" |
| 76 sys.exit(1) | 76 sys.exit(1) |
| 77 | 77 |
| 78 parser = GetOptionsParser() | 78 parser = GetOptionsParser() |
| 79 (options, args) = parser.parse_args() | 79 (options, args) = parser.parse_args() |
| 80 | 80 |
| 81 if not options.build_products_dir: | 81 if not options.build_products_dir: |
| 82 print "No build products directory given." | 82 print "No build products directory given." |
| 83 sys.exit(1) | 83 sys.exit(1) |
| 84 | 84 |
| 85 UploadAPKs(options) | 85 # Reenable once we have new gsutil working |
| 86 # UploadAPKs(options) |
| 86 sys.exit(0) | 87 sys.exit(0) |
| 87 | 88 |
| 88 if __name__ == '__main__': | 89 if __name__ == '__main__': |
| 89 main() | 90 main() |
| OLD | NEW |