summaryrefslogtreecommitdiffstats
path: root/build/android/strip_native_libraries.gypi
diff options
context:
space:
mode:
authoreugenis <eugenis@chromium.org>2015-08-03 21:57:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-04 04:59:31 +0000
commit301af9347c32ac621ab06b08eb089f8ee643795f (patch)
tree90f8a162a11347dffc55c2b5178d6fdf21b4b660 /build/android/strip_native_libraries.gypi
parent0112f1037b342f1f1718c8615e9a17559b1bdfde (diff)
downloadchromium_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 'build/android/strip_native_libraries.gypi')
-rw-r--r--build/android/strip_native_libraries.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/strip_native_libraries.gypi b/build/android/strip_native_libraries.gypi
index bdffcfd..be8a5cb 100644
--- a/build/android/strip_native_libraries.gypi
+++ b/build/android/strip_native_libraries.gypi
@@ -35,7 +35,7 @@
'<(stamp)',
],
'conditions': [
- ['component == "shared_library"', {
+ ['android_must_copy_system_libraries == 1', {
# Add a fake output to force the build to always re-run this step. This
# is required because the real inputs are not known at gyp-time and
# changing base.so may not trigger changes to dependent libraries.