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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//build/config/win/visual_studio_version.gni") | |
9 import("//build/toolchain/goma.gni") | 8 import("//build/toolchain/goma.gni") |
10 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
11 | 10 |
12 # Should only be running on Windows. | 11 # Should only be running on Windows. |
13 assert(is_win) | 12 assert(is_win) |
14 | 13 |
15 # Setup the Visual Studio state. | 14 # Setup the Visual Studio state. |
16 # | 15 # |
17 # Its arguments are the VS path and the compiler wrapper tool. It will write | 16 # Its arguments are the VS path and the compiler wrapper tool. It will write |
18 # "environment.x86" and "environment.x64" to the build directory and return a | 17 # "environment.x86" and "environment.x64" to the build directory and return a |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 msvc_toolchain("winrt_x64") { | 420 msvc_toolchain("winrt_x64") { |
422 environment = "environment.winrt_x64" | 421 environment = "environment.winrt_x64" |
423 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" | 422 cl = "${goma_prefix}\"${vc_bin_dir}/cl.exe\"" |
424 | 423 |
425 toolchain_args = { | 424 toolchain_args = { |
426 is_clang = false | 425 is_clang = false |
427 current_cpu = "x64" | 426 current_cpu = "x64" |
428 } | 427 } |
429 } | 428 } |
430 } | 429 } |
OLD | NEW |