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

Unified Diff: build/config/win/visual_studio_version.gni

Issue 1658903002: Enable /analyze in gn builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn format, and manual tweaks Created 4 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 side-by-side diff with in-line comments
Download patch
« build/config/win/BUILD.gn ('K') | « build/config/win/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/win/visual_studio_version.gni
diff --git a/build/config/win/visual_studio_version.gni b/build/config/win/visual_studio_version.gni
index 60038af0efbf87109d6e47fd2464bf3de8817ab4..97a45ede32abe319300affa00dffb59ec8662208 100644
--- a/build/config/win/visual_studio_version.gni
+++ b/build/config/win/visual_studio_version.gni
@@ -22,6 +22,12 @@ declare_args() {
windows_sdk_path = "C:\Program Files (x86)\Windows Kits\10"
is_win_fastlink = false
+
+ # Set this to true to enable static analysis through Visual Studio's
+ # /analyze. This dramatically slows compiles and reports thousands of
+ # warnings, so normally this is done on a build machine and only the new
+ # warnings are examined.
+ is_win_analyze = false
brettw 2016/02/03 18:48:00 Does this need to be usable by anywhere other than
brucedawson 2016/02/06 01:07:30 It's need by ffmpeg's build file.
brettw 2016/02/19 22:03:05 With our discussion in chat, I think you can make
brucedawson 2016/02/19 22:45:33 Ah... now I see the advantage of unconditionally r
}
if (visual_studio_path == "") {
« build/config/win/BUILD.gn ('K') | « build/config/win/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698