Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: src/trusted/win/BUILD.gn

Issue 2189153002: Turn off ASAN for non-default toolchains for win clang. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698