add android NDK event loop (#1556)

* add android NDK event loop

* add Android build documentation & cargo-apk to CI

Co-authored-by: David Craven <david@craven.ch>
This commit is contained in:
Jasper De Sutter 2020-05-06 15:27:49 +02:00 committed by GitHub
parent 007b195a5e
commit b8828105cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 532 additions and 546 deletions

View file

@ -33,8 +33,10 @@ bitflags = "1"
image = "0.23"
simple_logger = "1"
[target.'cfg(target_os = "android")'.dependencies.android_glue]
version = "0.2"
[target.'cfg(target_os = "android")'.dependencies]
ndk = "0.1.0"
ndk-sys = "0.1.0"
ndk-glue = "0.1.0"
[target.'cfg(target_os = "ios")'.dependencies]
objc = "0.2.3"