| 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/clang/clang.gni") | 5 import("//build/config/clang/clang.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build/config/win/visual_studio_version.gni") | 7 import("//build/config/win/visual_studio_version.gni") |
| 8 import("//build/toolchain/goma.gni") | 8 import("//build/toolchain/goma.gni") |
| 9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
| 10 import("//build/toolchain/concurrent_links.gni") | 10 import("//build/toolchain/concurrent_links.gni") |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 command = "$env_wrapper$cl /nologo /showIncludes /FC @$rspfile /c {{source
}} /Fo{{output}} /Fd\"$pdbname\"" | 132 command = "$env_wrapper$cl /nologo /showIncludes /FC @$rspfile /c {{source
}} /Fo{{output}} /Fd\"$pdbname\"" |
| 133 depsformat = "msvc" | 133 depsformat = "msvc" |
| 134 description = "CXX {{output}}" | 134 description = "CXX {{output}}" |
| 135 outputs = [ | 135 outputs = [ |
| 136 "$object_subdir/{{source_name_part}}.obj", | 136 "$object_subdir/{{source_name_part}}.obj", |
| 137 ] | 137 ] |
| 138 rspfile_content = "$sys_include_flags{{defines}} {{include_dirs}} {{cflags
}} {{cflags_cc}}" | 138 rspfile_content = "$sys_include_flags{{defines}} {{include_dirs}} {{cflags
}} {{cflags_cc}}" |
| 139 } | 139 } |
| 140 | 140 |
| 141 tool("rc") { | 141 tool("rc") { |
| 142 command = "$python_path gyp-win-tool rc-wrapper $env rc.exe {{defines}} {{
include_dirs}} /fo{{output}} {{source}}" | 142 #command = "$python_path gyp-win-tool rc-wrapper $env rc.exe {{defines}} {
{include_dirs}} /fo{{output}} {{source}}" |
| 143 command = "touch {{output}}" |
| 143 outputs = [ | 144 outputs = [ |
| 144 "$object_subdir/{{source_name_part}}.res", | 145 "$object_subdir/{{source_name_part}}.res", |
| 145 ] | 146 ] |
| 146 description = "RC {{output}}" | 147 description = "RC {{output}}" |
| 147 } | 148 } |
| 148 | 149 |
| 149 tool("asm") { | 150 tool("asm") { |
| 150 if (invoker.toolchain_cpu == "x64") { | 151 if (invoker.toolchain_cpu == "x64") { |
| 151 ml = "ml64.exe" | 152 #ml = "ml64.exe" |
| 152 } else { | 153 } else { |
| 153 ml = "ml.exe" | 154 #ml = "ml.exe" |
| 154 } | 155 } |
| 155 command = "$python_path gyp-win-tool asm-wrapper $env $ml {{defines}} {{in
clude_dirs}} {{asmflags}} /c /Fo{{output}} {{source}}" | 156 #command = "$python_path gyp-win-tool asm-wrapper $env $ml {{defines}} {{i
nclude_dirs}} {{asmflags}} /c /Fo{{output}} {{source}}" |
| 157 command = "touch {{output}}" |
| 156 description = "ASM {{output}}" | 158 description = "ASM {{output}}" |
| 157 outputs = [ | 159 outputs = [ |
| 158 "$object_subdir/{{source_name_part}}.obj", | 160 "$object_subdir/{{source_name_part}}.obj", |
| 159 ] | 161 ] |
| 160 } | 162 } |
| 161 | 163 |
| 162 tool("alink") { | 164 tool("alink") { |
| 163 rspfile = "{{output}}.rsp" | 165 rspfile = "{{output}}.rsp" |
| 164 command = "$python_path gyp-win-tool link-wrapper $env False $lib /nologo
{{arflags}} /OUT:{{output}} @$rspfile" | 166 command = "$python_path gyp-win-tool link-wrapper $env False $lib /nologo
{{arflags}} /OUT:{{output}} @$rspfile" |
| 165 description = "LIB {{output}}" | 167 description = "LIB {{output}}" |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 415 |
| 414 msvc_toolchain("winrt_x64") { | 416 msvc_toolchain("winrt_x64") { |
| 415 environment = "environment.winrt_x64" | 417 environment = "environment.winrt_x64" |
| 416 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" | 418 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" |
| 417 is_clang = false | 419 is_clang = false |
| 418 | 420 |
| 419 toolchain_cpu = "x64" | 421 toolchain_cpu = "x64" |
| 420 toolchain_os = current_os | 422 toolchain_os = current_os |
| 421 } | 423 } |
| 422 } | 424 } |
| OLD | NEW |