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

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

Issue 164773005: Pull GN @ 252040, update calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: long line Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | build/util/BUILD.gn » ('j') | 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 import("//build/toolchain/goma.gni") 5 import("//build/toolchain/goma.gni")
6 6
7 # Should only be running on Windows. 7 # Should only be running on Windows.
8 assert(is_win) 8 assert(is_win)
9 9
10 import("//build/config/win/visual_studio_version.gni") 10 import("//build/config/win/visual_studio_version.gni")
11 11
12 # Setup the Visual Studio state. 12 # Setup the Visual Studio state.
13 # 13 #
14 # Its arguments are the VS path and the compiler wrapper tool. It will write 14 # Its arguments are the VS path and the compiler wrapper tool. It will write
15 # "environment.x86" and "environment.x64" to the build directory and return a 15 # "environment.x86" and "environment.x64" to the build directory and return a
16 # list to us. 16 # list to us.
17 gyp_win_tool_path = rebase_path("//tools/gyp/pylib/gyp/win_tool.py", ".", 17 gyp_win_tool_path = rebase_path("//tools/gyp/pylib/gyp/win_tool.py",
18 root_build_dir) 18 root_build_dir)
19 exec_script("setup_toolchain.py", [ visual_studio_path, gyp_win_tool_path ], 19 exec_script("setup_toolchain.py", [ visual_studio_path, gyp_win_tool_path ],
20 "string") 20 "string")
21 21
22 stamp_command = "$python_path gyp-win-tool stamp \$out" 22 stamp_command = "$python_path gyp-win-tool stamp \$out"
23 copy_command = "$python_path gyp-win-tool recursive-mirror \$in \$out" 23 copy_command = "$python_path gyp-win-tool recursive-mirror \$in \$out"
24 24
25 if (use_goma) { 25 if (use_goma) {
26 # Add the Goma compiler prefixes to the GYP file. 26 # Add the Goma compiler prefixes to the GYP file.
27 gyp_header = "'make_global_settings': [ $make_goma_global_settings ]," 27 gyp_header = "'make_global_settings': [ $make_goma_global_settings ],"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 # When invoking this toolchain not as the default one, these args will be 147 # When invoking this toolchain not as the default one, these args will be
148 # passed to the build. They are ignored when this is the default toolchain. 148 # passed to the build. They are ignored when this is the default toolchain.
149 toolchain_args() { 149 toolchain_args() {
150 cpu_arch = "x64" 150 cpu_arch = "x64"
151 # Normally the build config resets the CPU architecture to 32-bits. Setting 151 # Normally the build config resets the CPU architecture to 32-bits. Setting
152 # this flag overrides that behavior. 152 # this flag overrides that behavior.
153 force_win64 = true 153 force_win64 = true
154 } 154 }
155 } 155 }
OLDNEW
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | build/util/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698