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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 qemudir = os.path.join(NACL_DIR, 'toolchain', 'linux_arm-trusted') | 859 qemudir = os.path.join(NACL_DIR, 'toolchain', 'linux_arm-trusted') |
860 oshelpers.Copy(['-r', qemudir, pepperdir]) | 860 oshelpers.Copy(['-r', qemudir, pepperdir]) |
861 | 861 |
862 # Archive the results on Google Cloud Storage. | 862 # Archive the results on Google Cloud Storage. |
863 if options.archive: | 863 if options.archive: |
864 BuildStepArchiveBundle('build', pepper_ver, chrome_revision, nacl_revision, | 864 BuildStepArchiveBundle('build', pepper_ver, chrome_revision, nacl_revision, |
865 tarfile) | 865 tarfile) |
866 # Only archive sdk_tools/naclport/pnacl_component on linux. | 866 # Only archive sdk_tools/naclport/pnacl_component on linux. |
867 if platform == 'linux': | 867 if platform == 'linux': |
868 BuildStepArchiveSDKTools() | 868 BuildStepArchiveSDKTools() |
869 #BuildStepArchivePNaClComponent(chrome_revision) | 869 BuildStepArchivePNaClComponent(chrome_revision) |
870 | 870 |
871 return 0 | 871 return 0 |
872 | 872 |
873 | 873 |
874 if __name__ == '__main__': | 874 if __name__ == '__main__': |
875 try: | 875 try: |
876 sys.exit(main(sys.argv[1:])) | 876 sys.exit(main(sys.argv[1:])) |
877 except KeyboardInterrupt: | 877 except KeyboardInterrupt: |
878 buildbot_common.ErrorExit('build_sdk: interrupted') | 878 buildbot_common.ErrorExit('build_sdk: interrupted') |
OLD | NEW |