Description
Hi, I'd like to improve the build process for Android, including shell scripts, build files and patches to OpenSSL and Boost, to allow for more build variants wherein we can migrate towards using newer Android NDK toolchains, use Clang/LLVM toolchain to build OpenSSL, use libc++ instead of libstdc++, and so on.
Since Android NDK 15c is being bundled with the upcoming MSVS 2017 15.6 release, we'd like to be able to build against libc++ so that we can use C++14 language and library features not available with libstdc++ 4.8/4.9.
As part of this, I'd also like to make it possible to build the dependencies (OpenSSL, Boost) within the Windows Subsystem for Linux instead of a full standalone Linux system. Some of the shell scripts are currently incompatible with WSL due to stray carriage return line endings.
My current progress consists of having OpenSSL building with both GCC and Clang toolchains in Android NDKs 10 through 15, as well as OpenSSL 1.0.2k through 1.0.2n, using WSL as the build environment. I've removed the dependency on the setenv-android.sh shellscript and have rolled all of the environment setup directly into Build_android/openssl/Makefile.
I'm wondering if you'd be interested in accepting pull requests for this and if you'd like it all in one big patch or as multiple smaller patches?