Do not strip ASan builds.
As of Clang r174490 instrumented binaries do not include the __asan_* symbols,
so the postbuild strip action fails.
This is a temporary measure, we may need to do something else (e.g. use different .saves files) when the dynamic runtime is adopted on OSX.
BUG=170629,174873
Review URL: https://codereview.chromium.org/12210114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181733 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index fc80753..63a569c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1442,6 +1442,9 @@
['asan==1 and OS=="mac"', {
# See http://crbug.com/145503.
'component': "static_library",
+ # TODO(glider): we do not strip ASan binaries until the dynamic ASan
+ # runtime is fully adopted. See http://crbug.com/170629.
+ 'mac_strip_release': 0,
}],
['tsan==1', {
'clang%': 1,