| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 command = link_command | 148 command = link_command |
| 149 | 149 |
| 150 default_output_extension = ".dll" | 150 default_output_extension = ".dll" |
| 151 description = "LINK(DLL) {{output}}" | 151 description = "LINK(DLL) {{output}}" |
| 152 outputs = [ | 152 outputs = [ |
| 153 dllname, | 153 dllname, |
| 154 libname, | 154 libname, |
| 155 ] | 155 ] |
| 156 link_output = libname | 156 link_output = libname |
| 157 depend_output = libname | 157 depend_output = libname |
| 158 runtime_link_output = dllname |
| 158 | 159 |
| 159 # Since the above commands only updates the .lib file when it changes, ask | 160 # Since the above commands only updates the .lib file when it changes, ask |
| 160 # Ninja to check if the timestamp actually changed to know if downstream | 161 # Ninja to check if the timestamp actually changed to know if downstream |
| 161 # dependencies should be recompiled. | 162 # dependencies should be recompiled. |
| 162 restat = true | 163 restat = true |
| 163 | 164 |
| 164 # The use of inputs_newline is to work around a fixed per-line buffer | 165 # The use of inputs_newline is to work around a fixed per-line buffer |
| 165 # size in the linker. | 166 # size in the linker. |
| 166 rspfile_content = "{{libs}} {{solibs}} {{inputs_newline}} {{ldflags}}" | 167 rspfile_content = "{{libs}} {{solibs}} {{inputs_newline}} {{ldflags}}" |
| 167 } | 168 } |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 | 360 |
| 360 msvc_toolchain("winrt_x64") { | 361 msvc_toolchain("winrt_x64") { |
| 361 environment = "environment.winrt_x64" | 362 environment = "environment.winrt_x64" |
| 362 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" | 363 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" |
| 363 is_clang = false | 364 is_clang = false |
| 364 | 365 |
| 365 toolchain_cpu = "x64" | 366 toolchain_cpu = "x64" |
| 366 toolchain_os = current_os | 367 toolchain_os = current_os |
| 367 } | 368 } |
| 368 } | 369 } |
| OLD | NEW |