feat(android): basic android support via winit native activity

This commit is contained in:
Chance 2025-04-17 23:04:24 -04:00 committed by BitSyndicate
parent d67acaadfa
commit e50409943c
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
3 changed files with 37 additions and 8 deletions

View file

@ -10,6 +10,9 @@ license = "MIT"
homepage = "https://zenyx-engine.github.io/"
repository = "https://codeberg.org/Caznix/Zenyx"
[lib]
crate-type = ["cdylib"]
[workspace]
resolver = "2"
members = ["subcrates/renderer", "subcrates/zlog"]
@ -42,6 +45,7 @@ cgmath = "0.18.0"
image = "0.25.6"
smol = "2.0.2"
winit = { version = "0.30.9" }
terminator = "0.3.2"
thiserror = "2.0.12"
tobj = "4.0.3"
@ -49,5 +53,7 @@ tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
vulkano = "0.35.1"
wgpu = { version = "25.0.0", features = ["spirv"] }
winit = { version = "0.30.9", features = ["android-native-activity"] }
zlog.workspace = true
[target.aarch64-linux-android.dependencies]
winit = { version = "0.30.9", features = ["android-native-activity"] }