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

Unified Diff: build/sanitizers/sanitizers.gyp

Issue 581983003: Enable ASan default options on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved the dependency to target_defaults Created 6 years, 3 months 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 | « build/sanitizers/sanitizer_options.cc ('k') | chrome/app/chrome_exe_main_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/sanitizers/sanitizers.gyp
diff --git a/build/sanitizers/sanitizers.gyp b/build/sanitizers/sanitizers.gyp
index cbe7ec015d7506990f8e4b001a3a546f69905998..d971d6d1c35b1e905b6f11f9fc23d57b755f26a9 100644
--- a/build/sanitizers/sanitizers.gyp
+++ b/build/sanitizers/sanitizers.gyp
@@ -45,6 +45,15 @@
'ldflags': [
'-Wl,-u_sanitizer_options_link_helper',
],
+ 'target_conditions': [
+ ['_type=="executable"', {
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [
+ '-Wl,-u,__sanitizer_options_link_helper',
+ ],
+ },
+ }],
+ ],
},
},
],
« no previous file with comments | « build/sanitizers/sanitizer_options.cc ('k') | chrome/app/chrome_exe_main_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698