diff options
author | eugenis <eugenis@chromium.org> | 2015-08-03 21:57:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-04 04:59:31 +0000 |
commit | 301af9347c32ac621ab06b08eb089f8ee643795f (patch) | |
tree | 90f8a162a11347dffc55c2b5178d6fdf21b4b660 /chrome/chrome_android.gypi | |
parent | 0112f1037b342f1f1718c8615e9a17559b1bdfde (diff) | |
download | chromium_src-301af9347c32ac621ab06b08eb089f8ee643795f.zip chromium_src-301af9347c32ac621ab06b08eb089f8ee643795f.tar.gz chromium_src-301af9347c32ac621ab06b08eb089f8ee643795f.tar.bz2 |
Link libc++_shared with asan=1 on Android.
ASan needs to interpose operator new/delete symbols to provide good
allocation/deallocation stacks. This requires shared linking of the
C++ standard library.
BUG=515261
Review URL: https://codereview.chromium.org/1263713005
Cr-Commit-Position: refs/heads/master@{#341675}
Diffstat (limited to 'chrome/chrome_android.gypi')
-rw-r--r-- | chrome/chrome_android.gypi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/chrome_android.gypi b/chrome/chrome_android.gypi index 734cda9..d4880fd 100644 --- a/chrome/chrome_android.gypi +++ b/chrome/chrome_android.gypi @@ -5,7 +5,7 @@ 'variables': { 'chromium_code': 1, 'conditions': [ - ['component != "shared_library" and target_arch != "arm64" and target_arch != "x64" and profiling_full_stack_frames != 1', { + ['android_must_copy_system_libraries == 0 and target_arch != "arm64" and target_arch != "x64" and profiling_full_stack_frames != 1', { # Only enable the chromium linker on regular builds, since the # component build crashes on Android 4.4. See b/11379966 'use_chromium_linker': '1', |