diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 15:34:00 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 15:34:00 +0000 |
commit | 5a5d97aa22829130bad6a4d24ebddf4ff262b704 (patch) | |
tree | 129d8be88e63f72b613d83e8f832549195ade0c3 /build/common.gypi | |
parent | 63fa495a1d980f518c8d3b3e6adb2ae3bec6233b (diff) | |
download | chromium_src-5a5d97aa22829130bad6a4d24ebddf4ff262b704.zip chromium_src-5a5d97aa22829130bad6a4d24ebddf4ff262b704.tar.gz chromium_src-5a5d97aa22829130bad6a4d24ebddf4ff262b704.tar.bz2 |
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
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index a19b002..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 |