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

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

Issue 139283005: Pull new GN binary @ r247206 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/config/compiler/BUILD.gn ('k') | build/toolchain/win/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/config/win/visual_studio_version.gni") 5 import("//build/config/win/visual_studio_version.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # 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 9 # This value is the default location, override if you have a different
10 # installation location. 10 # installation location.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "/NXCOMPAT", 78 "/NXCOMPAT",
79 ] 79 ]
80 80
81 # ASLR makes debugging with windbg difficult because Chrome.exe and 81 # ASLR makes debugging with windbg difficult because Chrome.exe and
82 # Chrome.dll share the same base name. As result, windbg will name the 82 # Chrome.dll share the same base name. As result, windbg will name the
83 # Chrome.dll module like chrome_<base address>, where <base address> 83 # Chrome.dll module like chrome_<base address>, where <base address>
84 # typically changes with each launch. This in turn means that breakpoints in 84 # typically changes with each launch. This in turn means that breakpoints in
85 # Chrome.dll don't stick from one launch to the next. For this reason, we 85 # Chrome.dll don't stick from one launch to the next. For this reason, we
86 # turn ASLR off in debug builds. 86 # turn ASLR off in debug builds.
87 if (is_debug) { 87 if (is_debug) {
88 ldflags += "/DYNAMICBASE:NO" 88 ldflags += [ "/DYNAMICBASE:NO" ]
89 } else { 89 } else {
90 ldflags += "/DYNAMICBASE" 90 ldflags += [ "/DYNAMICBASE" ]
91 } 91 }
92 92
93 # Common libraries. 93 # Common libraries.
94 libs = [ 94 libs = [
95 "advapi32.lib", 95 "advapi32.lib",
96 "comdlg32.lib", 96 "comdlg32.lib",
97 "dbghelp.lib", 97 "dbghelp.lib",
98 "delayimp.lib", 98 "delayimp.lib",
99 "dnsapi.lib", 99 "dnsapi.lib",
100 "gdi32.lib", 100 "gdi32.lib",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698