Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: gyp/yasm.gyp

Issue 1505013003: simplify the way we disable sanitizers for yasm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/yasm.gyp
diff --git a/gyp/yasm.gyp b/gyp/yasm.gyp
index aeca9c05fbf200a1db764d68c797207413634f77..de1d1dc1b7b5113d89902aaf19283a9ed0a485e6 100644
--- a/gyp/yasm.gyp
+++ b/gyp/yasm.gyp
@@ -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': [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698