Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update NOTES.ANDROID for newer NDK versions + small fixes. #10478
This has only been tested by myself - it would be good if someone can check the accuracy of new information/instructions before merging.
The newer NDK's don't include GCC and have different structures and paths, especially if you are using the new side-by-side NDK. I've retained the information for older NDK's as it's still relevant for people who are not updating their toolchains (EG maintaining somewhat legacy apps).
No extra arguments needed! clang detection was added as a fallback for when GCC is not found at some point. The part of the path that I had forgotten to add that your comment reminded me of was actually the path to the Android NDK llvm/clang tools, which for some reason are in a different path than all the other tools... Otherwise there really wasn't much of a big change for r20+ other than a few caveats (like paths being slightly different for side-by-side NDK, which is now the "recommended" way to obtain it).
I'm currently trying to get Gradle to build out all platforms through the side-by-side NDK and their new external build tools. I suppose if I get that working I should add that to the document as well and put up another PR - but it's not exactly vital information just "convenient" to some.
Vote of openssl team member is important. Vote of other does not make sense if I remember rules.
I don't have enough spare time to propose changes.