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

Unified Diff: build/common.gypi

Issue 151663004: Set -fmsc-version for the Windows Clang build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use MSVS_VERSION Created 6 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 07a420b950fa4df2fe0cf7915b5ae39da6894b61..ddd6546f379437be9af2d050f59f8c5e0091df40 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -4710,6 +4710,22 @@
'-ferror-limit=1',
],
},
+ 'conditions': [
+ ['MSVS_VERSION=="2013" or MSVS_VERSION=="2013e"', {
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions': [
+ '-fmsc-version=1800',
+ ],
+ },
+ }],
+ ['MSVS_VERSION=="2010" or MSVS_VERSION=="2010e"', {
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions': [
+ '-fmsc-version=1600',
+ ],
+ },
+ }],
+ ],
}],
],
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698