[gn] Fix sanitizer configs
This prepares for https://codereview.chromium.org/2188693002/ With the current configuration, sanitizers wouldn't be used at all. The clang configuration is automatically derived in GN. BUG=chromium:474921 NOTRY=true Review-Url: https://codereview.chromium.org/2184683004 Cr-Commit-Position: refs/heads/master@{#38089}
This commit is contained in:
parent
14e2bcda85
commit
3dedc3e5ce
@ -404,7 +404,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
'asan': {
|
'asan': {
|
||||||
'gn_args': 'is_clang=true asan=true',
|
'gn_args': 'is_asan=true',
|
||||||
'gyp_defines': 'clang=1 asan=1',
|
'gyp_defines': 'clang=1 asan=1',
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -483,7 +483,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
'lsan': {
|
'lsan': {
|
||||||
'gn_args': 'lsan=true',
|
'gn_args': 'is_lsan=true',
|
||||||
'gyp_defines': 'lsan=1',
|
'gyp_defines': 'lsan=1',
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -498,7 +498,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
'msan': {
|
'msan': {
|
||||||
'gn_args': 'is_clang=true msan=true',
|
'gn_args': 'is_msan=true',
|
||||||
'gyp_defines': 'clang=1 msan=1',
|
'gyp_defines': 'clang=1 msan=1',
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -582,7 +582,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
'tsan': {
|
'tsan': {
|
||||||
'gn_args': 'is_clang=true tsan=true',
|
'gn_args': 'is_tsan=true',
|
||||||
'gyp_defines': 'clang=1 tsan=1',
|
'gyp_defines': 'clang=1 tsan=1',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user