commit | 11c1d9822b6e35d267e5f7365f6648486b9fc34a | [log] [tgz] |
---|---|---|
author | Thomas Anderson <[email protected]> | Tue Jan 15 06:32:59 2019 |
committer | Commit Bot <[email protected]> | Tue Jan 15 06:32:59 2019 |
tree | 243c40fbc3e0251a457072707f53103f6c5f3b5c | |
parent | dfc22b6813741d7ca31a5c0debe2201bb553b483 [diff] |
Revert "Fix Android ASAN tests when is_component_build=false,use_custom_libcxx=true" This reverts commit 3c2bf8b54d7eaad31ce27e11f8a3a43d06168481. Reason for revert: No longer necessary after https://chromium-review.googlesource.com/c/chromium/src/+/1409558 Original change's description: > Fix Android ASAN tests when is_component_build=false,use_custom_libcxx=true > > The issue with libc++/Android/ASAN/static builds is that > export_libcxxabi_from_executables gets set to true: > > export_libcxxabi_from_executables = > use_custom_libcxx && !is_component_build && (is_asan || is_ubsan_vptr) > > But certain Android tests are built as shared libraries that get loaded from the > Java runtime. In this case, there is no main executable to export libc++abi > from, so symbols will be missing leading to errors like this: > > E/AndroidRuntime( 2103): java.lang.UnsatisfiedLinkError: dlopen failed: cannot > locate symbol "__cxa_guard_acquire" referenced by > "lib_cronet_unittests_android__library.so"... > > To fix this, export libc++abi from the test shared library instead, since that's > the "main DSO" in this case. Perhaps in the future > export_libcxxabi_from_executables should be renamed to > export_libcxxabi_from_main_dso. > > Depends on Angle CL: > https://chromium-review.googlesource.com/c/angle/angle/+/1405908 > > BUG=916973 > R=thakis > TBR=dpranke > > Change-Id: I71e4ff5a2998b18fecb9df6628e3c17f88332bf2 > Reviewed-on: https://chromium-review.googlesource.com/c/1405277 > Reviewed-by: Thomas Anderson <[email protected]> > Reviewed-by: Nico Weber <[email protected]> > Commit-Queue: Thomas Anderson <[email protected]> > Cr-Commit-Position: refs/heads/master@{#621861} [email protected],[email protected] # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 916973 Change-Id: I42c6490ee7fd72b062b5a6ba5c8d954f89db051a Reviewed-on: https://chromium-review.googlesource.com/c/1410267 Reviewed-by: Thomas Anderson <[email protected]> Reviewed-by: Nico Weber <[email protected]> Commit-Queue: Thomas Anderson <[email protected]> Cr-Commit-Position: refs/heads/master@{#622757}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .