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

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

Issue 219433005: Move gtest/gmock BUILD.gn files to main tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | testing/gmock/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 # 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 102 }
103 103
104 # Incremental linking ---------------------------------------------------------- 104 # Incremental linking ----------------------------------------------------------
105 105
106 config("incremental_linking") { 106 config("incremental_linking") {
107 ldflags = [ "/INCREMENTAL" ] 107 ldflags = [ "/INCREMENTAL" ]
108 } 108 }
109 config("no_incremental_linking") { 109 config("no_incremental_linking") {
110 ldflags = [ "/INCREMENTAL:NO" ] 110 ldflags = [ "/INCREMENTAL:NO" ]
111 } 111 }
112
113 # Disable unused variable warning ----------------------------------------------
114
115 # Sometimes third-party code wants to disable this warning under MSVC, so this
116 # config makes it easy to do so.
117 config("disable_unused_variable_warning") {
118 cflags = [ "/wd4800" ]
119 }
OLDNEW
« no previous file with comments | « no previous file | testing/gmock/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698