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

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

Issue 138273007: Convert GN single-item list concat to use lists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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') | third_party/libpng/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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } else { 54 } else {
55 ldflags = [ 55 ldflags = [
56 "/MACHINE:X86", 56 "/MACHINE:X86",
57 "/SAFESEH", # Not compatible with x64 so use only for x86. 57 "/SAFESEH", # Not compatible with x64 so use only for x86.
58 ] 58 ]
59 lib_dirs = [ 59 lib_dirs = [
60 "$windows_sdk_path\Lib\win8\um\x86", 60 "$windows_sdk_path\Lib\win8\um\x86",
61 "$visual_studio_path\VC\lib", 61 "$visual_studio_path\VC\lib",
62 "$visual_studio_path\VC\atlmfc\lib", 62 "$visual_studio_path\VC\atlmfc\lib",
63 ] 63 ]
64 #if (!is_asan) { TODO(brettw) Address Sanitizer 64 if (!is_asan) {
65 # ldflags += "/largeaddressaware" 65 ldflags += [ "/largeaddressaware" ]
66 #} 66 }
67 } 67 }
68 } 68 }
69 69
70 # This default linker setup is provided separately from the SDK setup so 70 # This default linker setup is provided separately from the SDK setup so
71 # targets who want different libraries linked can remove this and specify their 71 # targets who want different libraries linked can remove this and specify their
72 # own. 72 # own.
73 config("common_linker_setup") { 73 config("common_linker_setup") {
74 ldflags = [ 74 ldflags = [
75 "/FIXED:NO", 75 "/FIXED:NO",
76 "/ignore:4199", 76 "/ignore:4199",
(...skipping 59 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') | third_party/libpng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698