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}
1 file changed