OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Entry point for both build and try bots. | 6 """Entry point for both build and try bots. |
7 | 7 |
8 This script is invoked from XXX, usually without arguments | 8 This script is invoked from XXX, usually without arguments |
9 to package an SDK. It automatically determines whether | 9 to package an SDK. It automatically determines whether |
10 this SDK is for mac, win, linux. | 10 this SDK is for mac, win, linux. |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 if options.archive: | 943 if options.archive: |
944 BuildStepArchiveBundle('build', pepper_ver, clnumber, tarfile) | 944 BuildStepArchiveBundle('build', pepper_ver, clnumber, tarfile) |
945 if platform == 'linux': | 945 if platform == 'linux': |
946 BuildStepArchiveBundle('naclports', pepper_ver, clnumber, ports_tarfile) | 946 BuildStepArchiveBundle('naclports', pepper_ver, clnumber, ports_tarfile) |
947 BuildStepArchiveSDKTools() | 947 BuildStepArchiveSDKTools() |
948 | 948 |
949 return 0 | 949 return 0 |
950 | 950 |
951 | 951 |
952 if __name__ == '__main__': | 952 if __name__ == '__main__': |
953 sys.exit(main(sys.argv)) | 953 try: |
| 954 sys.exit(main(sys.argv)) |
| 955 except KeyboardInterrupt: |
| 956 buildbot_common.ErrorExit('build_sdk: interrupted') |
OLD | NEW |