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

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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 config("target_winrt") { 189 config("target_winrt") {
189 defines = [ 190 defines = [
190 "WINRT", 191 "WINRT",
191 "WINAPI_FAMILY=WINAPI_FAMILY_PC_APP", 192 "WINAPI_FAMILY=WINAPI_FAMILY_PC_APP",
192 ] 193 ]
193 cflags_cc = [ 194 cflags_cc = [
194 "/ZW", 195 "/ZW",
195 "/EHsc", 196 "/EHsc",
196 ] 197 ]
197 } 198 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698