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

Side by Side Diff: toolchain_build/toolchain_build_pnacl.py

Issue 1111913003: toolchain_build: Avoid python tracebacks for package build errors (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « toolchain_build/toolchain_build.py ('k') | toolchain_build/toolchain_main.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/python
2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2013 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 """Recipes for PNaCl toolchain packages. 6 """Recipes for PNaCl toolchain packages.
7 7
8 Recipes consist of specially-structured dictionaries, with keys for package 8 Recipes consist of specially-structured dictionaries, with keys for package
9 name, type, commands to execute, etc. The structure is documented in the 9 name, type, commands to execute, etc. The structure is documented in the
10 PackageBuilder docstring in toolchain_main.py. 10 PackageBuilder docstring in toolchain_main.py.
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 packages.update(pnacl_targetlibs.UnsandboxedRuntime( 1192 packages.update(pnacl_targetlibs.UnsandboxedRuntime(
1193 'x86-32-%s' % pynacl.platform.GetOS(), unsandboxed_runtime_canonical)) 1193 'x86-32-%s' % pynacl.platform.GetOS(), unsandboxed_runtime_canonical))
1194 1194
1195 if args.build_sbtc and not args.pnacl_in_pnacl: 1195 if args.build_sbtc and not args.pnacl_in_pnacl:
1196 packages.update(pnacl_sandboxed_translator.SandboxedTranslators( 1196 packages.update(pnacl_sandboxed_translator.SandboxedTranslators(
1197 SANDBOXED_TRANSLATOR_ARCHES)) 1197 SANDBOXED_TRANSLATOR_ARCHES))
1198 1198
1199 tb = toolchain_main.PackageBuilder(packages, 1199 tb = toolchain_main.PackageBuilder(packages,
1200 upload_packages, 1200 upload_packages,
1201 leftover_args) 1201 leftover_args)
1202 tb.Main() 1202 sys.exit(tb.Main())
OLDNEW
« no previous file with comments | « toolchain_build/toolchain_build.py ('k') | toolchain_build/toolchain_main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698