ndk-r17-beta1
Don't use libandroid_support for modern API levels.

If we're targeting a new enough platform version, we don't actually
need to cover any gaps in libc for libc++ support. In those cases,
save size in the APK by avoiding libandroid_support.

This is also a requirement for static executables, since using
libandroid_support with a modern libc.a will result in multiple symbol
definition errors.

Test: ndk/checkbuild.py && ndk/run_tests.py
Bug: https://github.com/android-ndk/ndk/issues/272
Change-Id: I4cb76272dc7271a02cba46d3cc20a369a16ff39d
(cherry picked from commit db08a420b9b812321691180e97da1a3facc7391e)
2 files changed