OLD | NEW |
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 import("//build/config/sanitizers/sanitizers.gni") | 5 import("//build/config/sanitizers/sanitizers.gni") |
6 import("//build/config/win/visual_studio_version.gni") | 6 import("//build/config/win/visual_studio_version.gni") |
7 import("//build/toolchain/goma.gni") | 7 import("//build/toolchain/goma.gni") |
8 import("//build/toolchain/toolchain.gni") | 8 import("//build/toolchain/toolchain.gni") |
9 | 9 |
10 # Should only be running on Windows. | 10 # Should only be running on Windows. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 } | 138 } |
139 command = "$python_path gyp-win-tool asm-wrapper $env $ml {{defines}} {{in
clude_dirs}} {{asmflags}} /c /Fo{{output}} {{source}}" | 139 command = "$python_path gyp-win-tool asm-wrapper $env $ml {{defines}} {{in
clude_dirs}} {{asmflags}} /c /Fo{{output}} {{source}}" |
140 description = "ASM {{output}}" | 140 description = "ASM {{output}}" |
141 outputs = [ | 141 outputs = [ |
142 "$object_subdir/{{source_name_part}}.obj", | 142 "$object_subdir/{{source_name_part}}.obj", |
143 ] | 143 ] |
144 } | 144 } |
145 | 145 |
146 tool("alink") { | 146 tool("alink") { |
147 rspfile = "{{output}}.rsp" | 147 rspfile = "{{output}}.rsp" |
148 command = "$python_path gyp-win-tool link-wrapper $env False $lib /nologo
/ignore:4221 /OUT:{{output}} @$rspfile" | 148 command = "$python_path gyp-win-tool link-wrapper $env False $lib /nologo
{{arflags}} /OUT:{{output}} @$rspfile" |
149 description = "LIB {{output}}" | 149 description = "LIB {{output}}" |
150 outputs = [ | 150 outputs = [ |
151 # Ignore {{output_extension}} and always use .lib, there's no reason to | 151 # Ignore {{output_extension}} and always use .lib, there's no reason to |
152 # allow targets to override this extension on Windows. | 152 # allow targets to override this extension on Windows. |
153 "{{output_dir}}/{{target_output_name}}.lib", | 153 "{{output_dir}}/{{target_output_name}}.lib", |
154 ] | 154 ] |
155 default_output_extension = ".lib" | 155 default_output_extension = ".lib" |
156 default_output_dir = "{{target_out_dir}}" | 156 default_output_dir = "{{target_out_dir}}" |
157 | 157 |
158 # The use of inputs_newline is to work around a fixed per-line buffer | 158 # The use of inputs_newline is to work around a fixed per-line buffer |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 376 |
377 msvc_toolchain("winrt_x64") { | 377 msvc_toolchain("winrt_x64") { |
378 environment = "environment.winrt_x64" | 378 environment = "environment.winrt_x64" |
379 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" | 379 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" |
380 is_clang = false | 380 is_clang = false |
381 | 381 |
382 toolchain_cpu = "x64" | 382 toolchain_cpu = "x64" |
383 toolchain_os = current_os | 383 toolchain_os = current_os |
384 } | 384 } |
385 } | 385 } |
OLD | NEW |