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

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

Issue 1324623005: Move sanitizer and symbol flags out of BUILDCONFIG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/compiler/compiler.gni")
5 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
6 import("//build/config/win/visual_studio_version.gni") 7 import("//build/config/win/visual_studio_version.gni")
7 8
8 # Compiler setup for the Windows SDK. Applied to all targets. 9 # Compiler setup for the Windows SDK. Applied to all targets.
9 config("sdk") { 10 config("sdk") {
10 # The include path is the stuff returned by the script. 11 # The include path is the stuff returned by the script.
11 #include_dirs = msvc_config[0] TODO(brettw) make this work. 12 #include_dirs = msvc_config[0] TODO(brettw) make this work.
12 13
13 defines = [ 14 defines = [
14 "_ATL_NO_OPENGL", 15 "_ATL_NO_OPENGL",
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 199
199 # Internal stuff -------------------------------------------------------------- 200 # Internal stuff --------------------------------------------------------------
200 201
201 # Config used by the MIDL template to disable warnings. 202 # Config used by the MIDL template to disable warnings.
202 config("midl_warnings") { 203 config("midl_warnings") {
203 if (is_clang) { 204 if (is_clang) {
204 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_". 205 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_".
205 cflags = [ "-Wno-extra-tokens" ] 206 cflags = [ "-Wno-extra-tokens" ]
206 } 207 }
207 } 208 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | build/secondary/third_party/libjpeg_turbo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698