Files
bevy_oxr/examples/android/Cargo.toml
2023-10-17 15:34:46 +03:00

90 lines
2.4 KiB
TOML

# [package]
name = "bevy_openxr_android"
version = "0.1.0"
edition = "2021"
description = "Example for building an Android OpenXR app with Bevy"
publish = false
license = "MIT OR Apache-2.0"
# [lib]
# name = "bevy_mobile_example"
# crate-type = ["staticlib", "cdylib"]
# [dependencies]
# bevy = { path = "../../" }
# [package.metadata.android]
# package = "org.bevyengine.example"
# apk_name = "bevyexample"
# assets = "../../assets"
# resources = "../../assets/android-res"
# # This strips debug symbols from the shared libraries, drastically reducing APK size. If you need them, remove the option.
# strip = "strip"
# build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
[package.metadata.android]
package = "com.github.alexichepura.bevyopenxr"
build_targets = ["aarch64-linux-android"]
runtime_libs = "examples/libs"
apk_name = "bevyopenxr"
assets = "assets"
res = "assets/android-res"
icon = "@mipmap/ic_launcher"
label = "Bevy Openxr"
[package.metadata.android.sdk]
target_sdk_version = 32
# [package.metadata.android.application]
# icon = "@mipmap/ic_launcher"
# label = "Bevy Example"
[dependencies]
anyhow = "1.0.75"
# ash = "0.37.3"
# ash = { version = "0.37", default-features = false, features = ["loaded"] }
bevy = { git = "https://github.com/bevyengine/bevy.git" }
openxr = { git = "https://github.com/Ralith/openxrs", features = ["mint"] }
mint = "0.5.9"
wgpu = "0.17.1"
wgpu-core = { version = "0.17.1", features = ["vulkan"] }
wgpu-hal = "0.17.2"
[dev-dependencies]
color-eyre = "0.6.2"
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
#debug = true
[package.metadata.android]
build_targets = ["aarch64-linux-android"]
runtime_libs = "examples/libs"
package = "com.github.alexichepura.bevyopenxr"
apk_name = "bevyopenxr"
assets = "assets"
res = "assets/android-res"
icon = "@mipmap/ic_launcher"
label = "Bevy Openxr"
[package.metadata.android.application.activity]
theme = "@android:style/Theme.Black.NoTitleBar.Fullscreen"
config_changes = "density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode"
launch_mode = "singleTask"
orientation = "landscape"
resizeable_activity = false
[[package.metadata.android.application.activity.intent_filter]]
actions = ["android.intent.action.MAIN"]
categories = [
"com.oculus.intent.category.VR",
"android.intent.category.LAUNCHER",
]
[package.metadata.android.signing.release]
path = "./hotham_examples.keystore"
keystore_password = "chomsky-vigilant-spa"