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

Side by Side Diff: build/toolchain/nacl_toolchain.gni

Issue 2667853004: Remove dependency on scan-build wrapper script for Clang analysis builds. (Closed)
Patch Set: WIP clang on windows Created 3 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 | « build/toolchain/nacl/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//build/toolchain/gcc_toolchain.gni") 6 import("//build/toolchain/gcc_toolchain.gni")
7 7
8 # This template defines a NaCl toolchain. 8 # This template defines a NaCl toolchain.
9 # 9 #
10 # It requires the following variables specifying the executables to run: 10 # It requires the following variables specifying the executables to run:
(...skipping 14 matching lines...) Expand all
25 executable_extension = ".nexe" 25 executable_extension = ".nexe"
26 } 26 }
27 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision 27 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision
28 28
29 forward_variables_from(invoker, 29 forward_variables_from(invoker,
30 [ 30 [
31 "ar", 31 "ar",
32 "cc", 32 "cc",
33 "cxx", 33 "cxx",
34 "deps", 34 "deps",
35 "is_clang_analysis_supported",
35 "ld", 36 "ld",
36 "link_outputs", 37 "link_outputs",
37 "nm", 38 "nm",
38 "readelf", 39 "readelf",
39 "strip", 40 "strip",
40 ]) 41 ])
41 42
42 toolchain_args = { 43 toolchain_args = {
43 # Use all values set on the invoker's toolchain_args. 44 # Use all values set on the invoker's toolchain_args.
44 forward_variables_from(invoker.toolchain_args, "*") 45 forward_variables_from(invoker.toolchain_args, "*")
45 46
46 current_os = "nacl" 47 current_os = "nacl"
47 48
48 # We do not support component builds with the NaCl toolchains. 49 # We do not support component builds with the NaCl toolchains.
49 is_component_build = false 50 is_component_build = false
50 51
51 # We do not support tcmalloc in the NaCl toolchains. 52 # We do not support tcmalloc in the NaCl toolchains.
52 use_allocator = "none" 53 use_allocator = "none"
53 } 54 }
54 } 55 }
55 } 56 }
OLDNEW
« no previous file with comments | « build/toolchain/nacl/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698