Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index bdd49006875f580c53a7266484954d83982bdd67..ada389b8007b1d9c7a68f919d4e7c94a8733442a 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1366,7 +1366,7 @@ |
'grit_defines': ['-D', 'enable_web_intents_tag'], |
}], |
- ['asan==1', { |
+ ['asan==1 and OS!="win"', { |
'clang%': 1, |
}], |
['asan==1 and OS=="mac"', { |
@@ -1749,6 +1749,15 @@ |
'USE_SKIA=1', |
], |
}], |
+ ['asan==1 and OS=="win"', { |
+ # Since asan on windows uses Syzygy, we need /PROFILE turned on to |
+ # produce appropriate pdbs. |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'Profile': 'true', |
+ }, |
+ }, |
+ }], # asan==1 and OS=="win" |
['coverage!=0', { |
'conditions': [ |
['OS=="mac" or OS=="ios"', { |