Support for Android NDK r22-beta1
authorFred Hornsey <fred@hornsey.us>
Wed, 18 Nov 2020 04:20:43 +0000 (22:20 -0600)
committerRichard Levitte <levitte@openssl.org>
Mon, 23 Nov 2020 01:47:38 +0000 (02:47 +0100)
commit948fd7af627f42cf9ab6b7c3df34aa5ebad422ae
treeec06c386efad9724d1c8139ceaea002a23e91d9f
parentac2c4f657efa120cb1e19342fbf556aca589f5a4
Support for Android NDK r22-beta1

I think builds using standalone toolchain are fine so I left them alone,
but `Configure` will fail if using the NDK directly because the
`platforms` and `sysroot` directories were removed.

If `sysroot` is missing, omit the `--sysroot` and `-gcc-toolchain`
arguments and use the triplet form clang command.

Also since `platforms` was being used for the default API level, use
`meta/platforms.json` instead if needed.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13434)
Configurations/15-android.conf