Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: build_tools/download_sdk.py

Issue 12412021: Don't hardcode Python path (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build_tools/sha1check.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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 6
7 """Download all Native Client toolchains for this platform. 7 """Download all Native Client toolchains for this platform.
8 8
9 This module downloads toolchain bz2's and expands them. It requires 9 This module downloads toolchain bz2's and expands them. It requires
10 gsutil to be in the bin PATH and assumes if building on windows that 10 gsutil to be in the bin PATH and assumes if building on windows that
11 cygwin is installed to \cygwin 11 cygwin is installed to \cygwin
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 url = DetermineSdkURL(flavor, 224 url = DetermineSdkURL(flavor,
225 base_url='gs://nativeclient-mirror/nacl/nacl_sdk/', 225 base_url='gs://nativeclient-mirror/nacl/nacl_sdk/',
226 version=options.version) 226 version=options.version)
227 print 'SDK URL is "%s"' % url 227 print 'SDK URL is "%s"' % url
228 228
229 DownloadAndInstallSDK(url) 229 DownloadAndInstallSDK(url)
230 return 0 230 return 0
231 231
232 if __name__ == '__main__': 232 if __name__ == '__main__':
233 sys.exit(main(sys.argv[1:])) 233 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | build_tools/sha1check.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698