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

Side by Side Diff: toolchain_build/toolchain_build_pnacl.py

Issue 1038753002: Disable LLVM's use of strerror_s on Windows (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 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
« 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) 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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 '--disable-zlib', 683 '--disable-zlib',
684 '--enable-optimized=' + ('no' if HostIsDebug(options) 684 '--enable-optimized=' + ('no' if HostIsDebug(options)
685 else 'yes'), 685 else 'yes'),
686 '--enable-debug=' + ('yes' if HostIsDebug(options) 686 '--enable-debug=' + ('yes' if HostIsDebug(options)
687 else 'no'), 687 else 'no'),
688 '--enable-targets=x86,arm,mips', 688 '--enable-targets=x86,arm,mips',
689 '--enable-werror=' + ('yes' if llvm_do_werror else 'no'), 689 '--enable-werror=' + ('yes' if llvm_do_werror else 'no'),
690 '--prefix=/', 690 '--prefix=/',
691 '--program-prefix=', 691 '--program-prefix=',
692 '--with-binutils-include=%(abs_binutils_pnacl_src)s/include', 692 '--with-binutils-include=%(abs_binutils_pnacl_src)s/include',
693 '--with-clang-srcdir=%(abs_clang_src)s' 693 '--with-clang-srcdir=%(abs_clang_src)s',
694 'ac_cv_have_decl_strerror_s=no',
694 ] + shared)] + 695 ] + shared)] +
695 CopyHostLibcxxForLLVMBuild( 696 CopyHostLibcxxForLLVMBuild(
696 host, 697 host,
697 os.path.join(('Debug+Asserts' if HostIsDebug(options) 698 os.path.join(('Debug+Asserts' if HostIsDebug(options)
698 else 'Release+Asserts'), 'lib'), 699 else 'Release+Asserts'), 'lib'),
699 options) + 700 options) +
700 [command.Command(MakeCommand(host) + [ 701 [command.Command(MakeCommand(host) + [
701 'VERBOSE=1', 702 'VERBOSE=1',
702 'PNACL_BROWSER_TRANSLATOR=0', 703 'PNACL_BROWSER_TRANSLATOR=0',
703 'SUBZERO_SRC_ROOT=%(abs_subzero_src)s', 704 'SUBZERO_SRC_ROOT=%(abs_subzero_src)s',
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 'x86-32-%s' % pynacl.platform.GetOS(), unsandboxed_runtime_canonical)) 1144 'x86-32-%s' % pynacl.platform.GetOS(), unsandboxed_runtime_canonical))
1144 1145
1145 if args.build_sbtc and not args.pnacl_in_pnacl: 1146 if args.build_sbtc and not args.pnacl_in_pnacl:
1146 packages.update(pnacl_sandboxed_translator.SandboxedTranslators( 1147 packages.update(pnacl_sandboxed_translator.SandboxedTranslators(
1147 SANDBOXED_TRANSLATOR_ARCHES)) 1148 SANDBOXED_TRANSLATOR_ARCHES))
1148 1149
1149 tb = toolchain_main.PackageBuilder(packages, 1150 tb = toolchain_main.PackageBuilder(packages,
1150 upload_packages, 1151 upload_packages,
1151 leftover_args) 1152 leftover_args)
1152 tb.Main() 1153 tb.Main()
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