simplify the way we disable sanitizers for yasm

seems to work fine

CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN-Trybot

BUG=skia:

Review URL: https://codereview.chromium.org/1505013003
This commit is contained in:
mtklein 2015-12-08 10:04:42 -08:00 committed by Commit bot
parent 815d571b6c
commit 77665b8a07

View File

@ -62,9 +62,9 @@
},
'target_defaults': {
# Silence warnings in libc++ builds (C code doesn't need this flag).
'ldflags!': [ '-stdlib=libc++', '-fsanitize=address,bool,integer-divide-by-zero,null,object-size,return,nonnull-attribute,returns-nonnull-attribute,signed-integer-overflow,unreachable,vla-bound' ],
'ldflags!': [ '-stdlib=libc++', '-fsanitize=<(skia_sanitizer)' ],
# https://crbug.com/489901
'cflags!': [ '-fsanitize=bounds', '-fsanitize=address,bool,integer-divide-by-zero,null,object-size,return,nonnull-attribute,returns-nonnull-attribute,signed-integer-overflow,unreachable,vla-bound' ],
'cflags!': [ '-fsanitize=bounds', '-fsanitize=<(skia_sanitizer)' ],
'libraries!': [ '-llog', ],
},
'targets': [