The NDK build system passes
-isystem $sysroot/usr/include explicitly at the end of the compiler command-line so that it comes before the toolchain's builtin include directories. Also, for
c++_shared STL types, it passes the
$ndk/sources/android/support/include directory between the two
libc++ include directories. Update our include directory ordering to match this behavior. This fixes some subtle preprocessing differences.
Closes: #16536 (closed)