OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client 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 """This script finds Native Client Toolchain revisions for every flavor that the | 6 """This script finds Native Client Toolchain revisions for every flavor that the |
7 download_toolchains.py needs. | 7 download_toolchains.py needs. |
8 | 8 |
9 This information is helpful when changing arm_toolchain_version and | 9 This information is helpful when changing arm_toolchain_version and |
10 x86_toolchain_version in DEPS. | 10 x86_toolchain_version in DEPS. |
11 """ | 11 """ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 parser.error('ERROR: invalid argument') | 92 parser.error('ERROR: invalid argument') |
93 try: | 93 try: |
94 SearchAvailableToolchains(toolchainbinaries.BASE_DOWNLOAD_URL, | 94 SearchAvailableToolchains(toolchainbinaries.BASE_DOWNLOAD_URL, |
95 int(options.search_rev_start)) | 95 int(options.search_rev_start)) |
96 except KeyboardInterrupt: | 96 except KeyboardInterrupt: |
97 print '\nSearch interrupted.' | 97 print '\nSearch interrupted.' |
98 | 98 |
99 | 99 |
100 if __name__ == '__main__': | 100 if __name__ == '__main__': |
101 Main() | 101 Main() |
OLD | NEW |