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/win/visual_studio_version.gni") |
| 6 |
5 declare_args() { | 7 declare_args() { |
6 # Full path to the Windows SDK, not including a backslash at the end. | 8 # Full path to the Windows SDK, not including a backslash at the end. |
| 9 # This value is the default location, override if you have a different |
| 10 # installation location. |
7 windows_sdk_path = "C:\Program Files (x86)\Windows Kits\8.0" | 11 windows_sdk_path = "C:\Program Files (x86)\Windows Kits\8.0" |
8 | |
9 # Full path to the Visual Studio installation, not including a backslash | |
10 # at the end. | |
11 visual_studio_path = "C:\Program Files (x86)\Microsoft Visual Studio 10.0" | |
12 } | 12 } |
13 | 13 |
14 # Compiler setup for the Windows SDK. Applied to all targets. | 14 # Compiler setup for the Windows SDK. Applied to all targets. |
15 config("sdk") { | 15 config("sdk") { |
16 # The include path is the stuff returned by the script. | 16 # The include path is the stuff returned by the script. |
17 #include_dirs = msvc_config[0] TODO(brettw) make this work. | 17 #include_dirs = msvc_config[0] TODO(brettw) make this work. |
18 | 18 |
19 defines = [ | 19 defines = [ |
20 "_ATL_NO_OPENGL", | 20 "_ATL_NO_OPENGL", |
21 "_SECURE_ATL", | 21 "_SECURE_ATL", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 # Incremental linking ---------------------------------------------------------- | 138 # Incremental linking ---------------------------------------------------------- |
139 | 139 |
140 config("incremental_linking") { | 140 config("incremental_linking") { |
141 ldflags = [ "/INCREMENTAL" ] | 141 ldflags = [ "/INCREMENTAL" ] |
142 } | 142 } |
143 config("no_incremental_linking") { | 143 config("no_incremental_linking") { |
144 ldflags = [ "/INCREMENTAL:NO" ] | 144 ldflags = [ "/INCREMENTAL:NO" ] |
145 } | 145 } |
OLD | NEW |