If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init symbol from the binaries.
Review URL: http://codereview.chromium.org/7828043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99371 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index a19b002af..abba390 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1736,6 +1736,16 @@
                 ],
               },
             ],
+            'conditions': [
+              ['asan==1', {
+                'variables': {
+                 'asan_saves_file': 'asan.saves',
+                },
+                'xcode_settings': {
+                  'CHROMIUM_STRIP_SAVE_FILE': '<(asan_saves_file)'
+                },
+              }],
+            ],
           }],
           ['_type=="executable" and release_valgrind_build==0', {
             # Turn on position-independence (ASLR) for executables. When PIE