This is something I realized while looking at chromium's buildtools/third_party/libc++abi and replicating that in a personal project.
I don't think is causing any actual problem (and there is some good chance I am misreading / missing something from the build files).
Just writing this down in case it's useful for the future.
Essentially I think that the BUILD.gn files in buildtools/third_party/libc++/BUILD.gn (and libc++) are missing something like:
include_dirs = [ "trunk/include" ]
So when the translation units inside libc++ / libc++abi #include things like libcxx.h, __cxxabi_config.h etc, I think we end up getting the toolchain ones and not the ones fetched from buildtools/third_party/libc++abi/trunk
Comment 1 by thakis@chromium.org
, Sep 28 2017