OLD | NEW |
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 24 matching lines...) Expand all Loading... |
35 forward_variables_from(invoker, | 35 forward_variables_from(invoker, |
36 [ | 36 [ |
37 "ar", | 37 "ar", |
38 "cc", | 38 "cc", |
39 "cxx", | 39 "cxx", |
40 "deps", | 40 "deps", |
41 "is_clang", | 41 "is_clang", |
42 "is_nacl_glibc", | 42 "is_nacl_glibc", |
43 "ld", | 43 "ld", |
44 "link_outputs", | 44 "link_outputs", |
45 "postlink", | |
46 "symbol_level", | 45 "symbol_level", |
47 "strip", | 46 "strip", |
48 "toolchain_cpu", | 47 "toolchain_cpu", |
49 ]) | 48 ]) |
50 | 49 |
51 # We do not suport component builds or sanitizers with the NaCl toolchains. | 50 # We do not suport component builds or sanitizers with the NaCl toolchains. |
52 is_component_build = false | 51 is_component_build = false |
53 clear_sanitizers = true | 52 clear_sanitizers = true |
54 use_ccache = false | 53 use_ccache = false |
55 use_goma = false | 54 use_goma = false |
56 | 55 |
57 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision | 56 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision |
58 } | 57 } |
59 } | 58 } |
OLD | NEW |