Commit a1fa6d0b authored by machenbach's avatar machenbach Committed by Commit bot

[build] Port options to support win-clang

BUG=chromium:603011
LOG=n
NOTRY=true

Review URL: https://codereview.chromium.org/1886293002

Cr-Commit-Position: refs/heads/master@{#35495}
parent 7fdfdc12
......@@ -946,6 +946,31 @@
}],
],
},
'conditions': [
['clang==1', {
'VCCLCompilerTool': {
'AdditionalOptions': [
# Don't warn about unused function parameters.
# (This is also used on other platforms.)
'-Wno-unused-parameter',
# Don't warn about the "struct foo f = {0};" initialization
# pattern.
'-Wno-missing-field-initializers',
# Many files use intrinsics without including this header.
# TODO(hans): Fix those files, or move this to sub-GYPs.
'/FIIntrin.h',
# TODO(hans): Make this list shorter eventually, http://crbug.com/504657
'-Wno-microsoft-enum-value', # http://crbug.com/505296
'-Wno-unknown-pragmas', # http://crbug.com/505314
'-Wno-microsoft-cast', # http://crbug.com/550065
'-fmsc-version=1900',
],
},
}],
],
},
},
}], # OS=="win"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment