DescriptionCorrectly set -stdlib=libc++ when building with a custom libc++.
The libcxx_proxy target used to set the link-time configuration to
correctly link libc++ sets it as a public_config. However, the sanitizer
deps targets have only private dependencies on libcxx_proxy so the
config does not apply to their dependents. This changes those
dependencies to be public.
This disables sanitizers for all non-default gcc_toolchain toolchains;
the android host toolchain build does not support building with libc++
and the GYP build does not use sanitizers for building host targets.
BUG=573288
Committed: https://crrev.com/34099cc1fb570af8990d5fad1b1e11fe4290680b
Cr-Commit-Position: refs/heads/master@{#394910}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 20 (9 generated)
|