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

Unified Diff: build/common.gypi

Issue 238123003: 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 6 years, 8 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 | « base/debug/sanitizer_options.cc ('k') | components/nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 8e48115a01d20f9fe91015a39b49b502f36dc59e..c3c90b2bb5eddc82e752d46ce43716b6b7dadd4e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3657,6 +3657,14 @@
],
}],
],
+ # TODO(glider): enable the default options on other systems.
+ 'conditions': [
+ ['OS=="linux" and (chromeos==0 or target_arch!="ia32")', {
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:sanitizer_options',
+ ],
+ }],
+ ],
}],
['asan==1', {
'target_conditions': [
« no previous file with comments | « base/debug/sanitizer_options.cc ('k') | components/nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698