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

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

Issue 204663004: Use depot_tools toolchain, remove now unneeded code, fix not including path to win sdk tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use depot_tools toolchain, remove now unneeded code, fix not including path to win sdk tools Created 6 years, 9 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
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/config/win/visual_studio_version.gni") 5 import("//build/config/win/visual_studio_version.gni")
6 6
7 declare_args() {
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.
11 windows_sdk_path = "C:\Program Files (x86)\Windows Kits\8.0"
12 }
13
14 # Compiler setup for the Windows SDK. Applied to all targets. 7 # Compiler setup for the Windows SDK. Applied to all targets.
15 config("sdk") { 8 config("sdk") {
16 # The include path is the stuff returned by the script. 9 # The include path is the stuff returned by the script.
17 #include_dirs = msvc_config[0] TODO(brettw) make this work. 10 #include_dirs = msvc_config[0] TODO(brettw) make this work.
18 11
19 defines = [ 12 defines = [
20 "_ATL_NO_OPENGL", 13 "_ATL_NO_OPENGL",
21 "_SECURE_ATL", 14 "_SECURE_ATL",
22 "_WIN32_WINNT=0x0602", 15 "_WIN32_WINNT=0x0602",
23 "_WINDOWS", 16 "_WINDOWS",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 } 102 }
110 103
111 # Incremental linking ---------------------------------------------------------- 104 # Incremental linking ----------------------------------------------------------
112 105
113 config("incremental_linking") { 106 config("incremental_linking") {
114 ldflags = [ "/INCREMENTAL" ] 107 ldflags = [ "/INCREMENTAL" ]
115 } 108 }
116 config("no_incremental_linking") { 109 config("no_incremental_linking") {
117 ldflags = [ "/INCREMENTAL:NO" ] 110 ldflags = [ "/INCREMENTAL:NO" ]
118 } 111 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698