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

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

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | build/go/rules.gni » ('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 # Compiler setup for the Windows SDK. Applied to all targets. 7 # Compiler setup for the Windows SDK. Applied to all targets.
8 config("sdk") { 8 config("sdk") {
9 # The include path is the stuff returned by the script. 9 # The include path is the stuff returned by the script.
10 #include_dirs = msvc_config[0] TODO(brettw) make this work. 10 #include_dirs = msvc_config[0] TODO(brettw) make this work.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "UNICODE", 115 "UNICODE",
116 ] 116 ]
117 } 117 }
118 118
119 # Lean and mean ---------------------------------------------------------------- 119 # Lean and mean ----------------------------------------------------------------
120 120
121 # Some third party code might not compile with WIN32_LEAN_AND_MEAN so we have 121 # Some third party code might not compile with WIN32_LEAN_AND_MEAN so we have
122 # to have a separate config for it. Remove this config from your target to 122 # to have a separate config for it. Remove this config from your target to
123 # get the "bloaty and accomodating" version of windows.h. 123 # get the "bloaty and accomodating" version of windows.h.
124 config("lean_and_mean") { 124 config("lean_and_mean") {
125 defines = [ 125 defines = [ "WIN32_LEAN_AND_MEAN" ]
126 "WIN32_LEAN_AND_MEAN",
127 ]
128 } 126 }
129 127
130 # Nominmax -------------------------------------------------------------------- 128 # Nominmax --------------------------------------------------------------------
131 129
132 # Some third party code defines NOMINMAX before including windows.h, which 130 # Some third party code defines NOMINMAX before including windows.h, which
133 # then causes warnings when it's been previously defined on the command line. 131 # then causes warnings when it's been previously defined on the command line.
134 # For such targets, this config can be removed. 132 # For such targets, this config can be removed.
135 133
136 config("nominmax") { 134 config("nominmax") {
137 defines = [ 135 defines = [ "NOMINMAX" ]
138 "NOMINMAX",
139 ]
140 } 136 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | build/go/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698