| OLD | NEW |
| 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 Loading... |
| 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()) |
| OLD | NEW |