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

Unified Diff: base/base.gyp

Issue 25687005: Set the default ASan options for executables built with ASan on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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 | base/debug/sanitizer_options.cc » ('j') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
===================================================================
--- base/base.gyp (revision 232083)
+++ base/base.gyp (working copy)
@@ -1020,6 +1020,29 @@
}],
],
},
+ {
+ 'target_name': 'sanitizer_options',
+ 'type': 'static_library',
+ 'variables': {
+ # Every target is going to depend on sanitizer_options, so allow
+ # this one to depend on itself.
+ 'prune_self_dependency': 1,
+ },
+ 'sources': [
+ 'debug/sanitizer_options.cc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'cflags!': [
+ '-fsanitize=address',
+ ],
+ 'direct_dependent_settings': {
+ 'ldflags': [
+ '-Wl,-u_sanitizer_options_link_helper',
+ ],
+ },
+ },
],
'conditions': [
['OS!="ios"', {
« no previous file with comments | « no previous file | base/debug/sanitizer_options.cc » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698