OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium 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 declare_args() { | 5 declare_args() { |
6 # Native Client supports both Newlib and Glibc C libraries where Newlib | 6 # Native Client supports both Newlib and Glibc C libraries where Newlib |
7 # is assumed to be the default one; use this to determine whether Glibc | 7 # is assumed to be the default one; use this to determine whether Glibc |
8 # is being used instead. | 8 # is being used instead. |
9 is_nacl_glibc = false | 9 is_nacl_glibc = false |
10 } | 10 } |
11 | 11 |
12 nacl_toolchain_dir = "//native_client/toolchain/${host_os}_x86" | 12 nacl_toolchain_dir = "//native_client/toolchain/${host_os}_x86" |
13 | 13 |
14 nacl_irt_toolchain = "//build/toolchain/nacl:irt_" + target_cpu | 14 nacl_irt_toolchain = "//build/toolchain/nacl:irt_" + target_cpu |
15 is_nacl_irt = current_toolchain == nacl_irt_toolchain | 15 is_nacl_irt = current_toolchain == nacl_irt_toolchain |
| 16 |
| 17 # Non-SFI mode is a lightweight sandbox used by Chrome OS for running ARC |
| 18 # applications. |
| 19 nacl_nonsfi_toolchain = "//build/toolchain/nacl:newlib_pnacl_nonsfi" |
| 20 is_nacl_nonsfi = current_toolchain == nacl_nonsfi_toolchain |
OLD | NEW |