New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NDK r18 #5585

Closed
jin opened this Issue Jul 12, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@jin
Copy link
Member

jin commented Jul 12, 2018

Expected release date: September 2018

Beta 1 should be out later this month.

Roadmap: https://android.googlesource.com/platform/ndk/+/master/docs/Roadmap.md

Expected changes to Bazel:

  • Remove support for non-libc++ STLs

libc++ has been the default for a release and has proven to be stable. It is a strict improvement over the other STLs (more features, better Clang compatibility, Apache licensed, most reliable). The fact that the NDK supports multiple STLs is a common pain point for users (it's confusing for newcomers, and it makes sharing libraries difficult because they must all use the same STL).

Now that we have a good choice for a single STL, we‘ll remove the others. We’ll most likely move the source we have for these along with building instructions to a separate project so that people that need these for ABI compatibility reasons can continue using them, but support for these will end completely.

  • Remove support for GCC

GCC is still in the NDK today because some of gnustl's C++11 features were written such that they do not work with Clang (threading and atomics, mostly). Now that libc++ is the best choice of STL, this is no longer blocking, so GCC can be removed.

@steeve

This comment has been minimized.

Copy link

steeve commented Sep 21, 2018

Looking at this, support should be pretty simple it seems? Even almost working as-is?

@steeve

This comment has been minimized.

Copy link

steeve commented Oct 4, 2018

Looking at the commit, never mind 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment