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

Side by Side Diff: build/toolchain/win/BUILD.gn

Issue 2378223002: Roll buildtools forward and fix GN build for it. (Closed)
Patch Set: Created 4 years, 2 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 | « build/toolchain/mac/BUILD.gn ('k') | 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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # Path to the directory containing the VC binaries for the right 6 # Path to the directory containing the VC binaries for the right
7 # combination of host and target architectures. Currently only the 7 # combination of host and target architectures. Currently only the
8 # 64-bit host toolchain is supported, with either 32-bit or 64-bit targets. 8 # 64-bit host toolchain is supported, with either 32-bit or 64-bit targets.
9 # If vc_bin_dir is not specified on the command line (and it normally 9 # If vc_bin_dir is not specified on the command line (and it normally
10 # isn't), we will dynamically determine the right value to use at runtime. 10 # isn't), we will dynamically determine the right value to use at runtime.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 command = "$python_path gyp-win-tool rc-wrapper $env rc.exe {{defines}} {{ include_dirs}} /fo{{output}} {{source}}" 114 command = "$python_path gyp-win-tool rc-wrapper $env rc.exe {{defines}} {{ include_dirs}} /fo{{output}} {{source}}"
115 outputs = [ 115 outputs = [
116 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.res", 116 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.res",
117 ] 117 ]
118 description = "RC {{output}}" 118 description = "RC {{output}}"
119 } 119 }
120 120
121 tool("asm") { 121 tool("asm") {
122 # TODO(brettw): "/safeseh" assembler argument is hardcoded here. Extract 122 # TODO(brettw): "/safeseh" assembler argument is hardcoded here. Extract
123 # assembler flags to a variable like cflags. crbug.com/418613 123 # assembler flags to a variable like cflags. crbug.com/418613
124 command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} { {include_dirs}} /safeseh /c /Fo {{output}} {{source}}" 124 command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} { {include_dirs}} {{asmflags}} /safeseh /c /Fo {{output}} {{source}}"
125 description = "ASM {{output}}" 125 description = "ASM {{output}}"
126 outputs = [ 126 outputs = [
127 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.obj", 127 "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.obj",
128 ] 128 ]
129 } 129 }
130 130
131 tool("alink") { 131 tool("alink") {
132 rspfile = "{{output}}.rsp" 132 rspfile = "{{output}}.rsp"
133 command = "$python_path gyp-win-tool link-wrapper $env False lib.exe /nolo go /ignore:4221 /OUT:{{output}} @$rspfile" 133 command = "$python_path gyp-win-tool link-wrapper $env False lib.exe /nolo go /ignore:4221 /OUT:{{output}} @$rspfile"
134 description = "LIB {{output}}" 134 description = "LIB {{output}}"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 244 }
245 msvc_toolchain("clang_x64") { 245 msvc_toolchain("clang_x64") {
246 environment = "environment.x64" 246 environment = "environment.x64"
247 current_cpu = "x64" 247 current_cpu = "x64"
248 prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin", 248 prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
249 root_build_dir) 249 root_build_dir)
250 cl = "${goma_prefix}$prefix/clang-cl.exe" 250 cl = "${goma_prefix}$prefix/clang-cl.exe"
251 is_clang = true 251 is_clang = true
252 } 252 }
253 } 253 }
OLDNEW
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698