| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 if (defined(invoker.is_clang)) { | 49 if (defined(invoker.is_clang)) { |
| 50 is_clang = invoker.is_clang | 50 is_clang = invoker.is_clang |
| 51 } | 51 } |
| 52 if (defined(invoker.is_nacl_glibc)) { | 52 if (defined(invoker.is_nacl_glibc)) { |
| 53 is_nacl_glibc = invoker.is_nacl_glibc | 53 is_nacl_glibc = invoker.is_nacl_glibc |
| 54 } | 54 } |
| 55 if (defined(invoker.symbol_level)) { | 55 if (defined(invoker.symbol_level)) { |
| 56 symbol_level = invoker.symbol_level | 56 symbol_level = invoker.symbol_level |
| 57 } | 57 } |
| 58 | 58 |
| 59 # We do not support component builds or sanitizers with the NaCl toolchains. | 59 # We do not support component builds with the NaCl toolchains. |
| 60 is_component_build = false | 60 is_component_build = false |
| 61 clear_sanitizers = true | |
| 62 | 61 |
| 63 # We do not support tcmalloc in the NaCl toolchains. | 62 # We do not support tcmalloc in the NaCl toolchains. |
| 64 use_allocator = "none" | 63 use_allocator = "none" |
| 65 | 64 |
| 66 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision | 65 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision |
| 67 } | 66 } |
| 68 } | 67 } |
| OLD | NEW |