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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "readelf", | 46 "readelf", |
47 "strip", | 47 "strip", |
48 "symbol_level", | 48 "symbol_level", |
49 "toolchain_cpu", | 49 "toolchain_cpu", |
50 ]) | 50 ]) |
51 | 51 |
52 # We do not support component builds or sanitizers with the NaCl toolchains. | 52 # We do not support component builds or sanitizers with the NaCl toolchains. |
53 is_component_build = false | 53 is_component_build = false |
54 clear_sanitizers = true | 54 clear_sanitizers = true |
55 | 55 |
| 56 # We do not support tcmalloc in the NaCl toolchains. |
| 57 use_allocator = "none" |
| 58 |
56 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision | 59 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision |
57 } | 60 } |
58 } | 61 } |
OLD | NEW |