| OLD | NEW |
| 1 # Copyright (c) 2015 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2015 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/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
| 6 | 6 |
| 7 # This is a special toolchain used solely for building GNU/AT&T-syntax | 7 # This is a special toolchain used solely for building GNU/AT&T-syntax |
| 8 # assembly files on Windows. See src/trusted/asm.gni for more details. | 8 # assembly files on Windows. See src/trusted/asm.gni for more details. |
| 9 | 9 |
| 10 template("nacl_win_as_toolchain") { | 10 template("nacl_win_as_toolchain") { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 } | 52 } |
| 53 | 53 |
| 54 toolchain_args() { | 54 toolchain_args() { |
| 55 current_os = "win" | 55 current_os = "win" |
| 56 current_cpu = invoker.toolchain_cpu | 56 current_cpu = invoker.toolchain_cpu |
| 57 | 57 |
| 58 # These values need to be passed through unchanged. | 58 # These values need to be passed through unchanged. |
| 59 host_toolchain = host_toolchain | 59 host_toolchain = host_toolchain |
| 60 target_os = target_os | 60 target_os = target_os |
| 61 target_cpu = target_cpu | 61 target_cpu = target_cpu |
| 62 |
| 63 if (defined(invoker.is_asan)) { |
| 64 is_asan = invoker.is_asan |
| 65 } |
| 62 } | 66 } |
| 63 } | 67 } |
| 64 } | 68 } |
| 65 | 69 |
| 66 nacl_win_as_toolchain("nacl_win_as_x86") { | 70 nacl_win_as_toolchain("nacl_win_as_x86") { |
| 67 toolchain_cpu = "x86" | 71 toolchain_cpu = "x86" |
| 72 is_asan = false |
| 68 } | 73 } |
| 69 | 74 |
| 70 nacl_win_as_toolchain("nacl_win_as_x64") { | 75 nacl_win_as_toolchain("nacl_win_as_x64") { |
| 71 toolchain_cpu = "x64" | 76 toolchain_cpu = "x64" |
| 77 is_asan = false |
| 72 } | 78 } |
| OLD | NEW |