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

Side by Side Diff: build/download_toolchains.py

Issue 11412233: Remove unused --save-downloads-dir option from download_toolchains.py (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years 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 | no next file » | 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/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 """Download all Native Client toolchains for this platform. 6 """Download all Native Client toolchains for this platform.
7 7
8 This module downloads multiple tgz's and expands them. 8 This module downloads multiple tgz's and expands them.
9 """ 9 """
10 10
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 help='Produce less output.') 309 help='Produce less output.')
310 parser.add_option( 310 parser.add_option(
311 '--toolchain-dir', dest='toolchain_dir', 311 '--toolchain-dir', dest='toolchain_dir',
312 default=os.path.join(PARENT_DIR, 'toolchain'), 312 default=os.path.join(PARENT_DIR, 'toolchain'),
313 help='(optional) location of toolchain directory') 313 help='(optional) location of toolchain directory')
314 parser.add_option( 314 parser.add_option(
315 '--nacl-newlib-only', dest='filter_out_predicates', 315 '--nacl-newlib-only', dest='filter_out_predicates',
316 action='append_const', const=toolchainbinaries.IsNotNaClNewlibFlavor, 316 action='append_const', const=toolchainbinaries.IsNotNaClNewlibFlavor,
317 help='download only the non-pnacl newlib toolchain') 317 help='download only the non-pnacl newlib toolchain')
318 parser.add_option( 318 parser.add_option(
319 '--save-downloads-dir', dest='save_downloads_dir',
320 default=None,
321 help='(optional) preserve the toolchain archives to this dir')
322 parser.add_option(
323 '--no-pnacl', dest='filter_out_predicates', action='append_const', 319 '--no-pnacl', dest='filter_out_predicates', action='append_const',
324 const=toolchainbinaries.IsPnaclFlavor, 320 const=toolchainbinaries.IsPnaclFlavor,
325 help='Filter out PNaCl toolchains.') 321 help='Filter out PNaCl toolchains.')
326 parser.add_option( 322 parser.add_option(
327 '--no-x86', dest='filter_out_predicates', action='append_const', 323 '--no-x86', dest='filter_out_predicates', action='append_const',
328 const=toolchainbinaries.IsX86Flavor, 324 const=toolchainbinaries.IsX86Flavor,
329 help='Filter out x86 toolchains.') 325 help='Filter out x86 toolchains.')
330 parser.add_option( 326 parser.add_option(
331 '--arm-untrusted', dest='arm_untrusted', action='store_true', 327 '--arm-untrusted', dest='arm_untrusted', action='store_true',
332 default=False, help='Add arm untrusted toolchains.') 328 default=False, help='Add arm untrusted toolchains.')
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 print '-' * 70 409 print '-' * 70
414 sys.stdout.flush() 410 sys.stdout.flush()
415 ShowUpdatedDEPS(options, versions) 411 ShowUpdatedDEPS(options, versions)
416 print '-' * 70 412 print '-' * 70
417 return 1 413 return 1
418 return 0 414 return 0
419 415
420 416
421 if __name__ == '__main__': 417 if __name__ == '__main__':
422 sys.exit(main(sys.argv[1:])) 418 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698