| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index ab6fc6c4a84c3807207f540e34a738289e39bd28..8ef1099849dde1cfcccf0896448dbfb8733c5253 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -2867,13 +2867,6 @@
|
| }],
|
| ],
|
| }],
|
| - ['asan==1', {
|
| - 'defines': [
|
| - 'ADDRESS_SANITIZER',
|
| - 'MEMORY_TOOL_REPLACES_ALLOCATOR',
|
| - 'MEMORY_SANITIZER_INITIAL_SIZE',
|
| - ],
|
| - }],
|
| ['syzyasan==1', {
|
| # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
|
| 'msvs_settings': {
|
| @@ -3131,6 +3124,13 @@
|
| ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
|
| 'defines': ['OS_CHROMEOS=1'],
|
| }],
|
| + ['<(asan)==1 and >(nacl_untrusted_build)==0', {
|
| + 'defines': [
|
| + 'ADDRESS_SANITIZER',
|
| + 'MEMORY_TOOL_REPLACES_ALLOCATOR',
|
| + 'MEMORY_SANITIZER_INITIAL_SIZE',
|
| + ],
|
| + }],
|
| ['enable_wexit_time_destructors==1 and OS!="win"', {
|
| # TODO: Enable on Windows too, http://crbug.com/404525
|
| 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
|
|
|