This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
92 lines (74 loc) · 2.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "xrbevy"
version = "0.1.0"
authors = ["Mika Vatanen <[email protected]>"]
edition = "2018"
[features]
default = []
[dependencies]
bevy_openxr = { path = "./repos/bevy_openxr/crates/bevy_openxr" }
bevy_openxr_core = { path = "./repos/bevy_openxr/crates/bevy_openxr_core" }
[dependencies.bevy]
path = "./repos/bevy"
features = [
"bevy_dynamic_plugin",
"bevy_gilrs",
"bevy_gltf",
"bevy_wgpu",
"bevy_winit",
"render",
"png",
"hdr",
"x11"
]
default-features = false
[dev-dependencies]
log = "0.4.14"
env_logger = "0.8.2"
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = "0.3"
[package.metadata.android]
apk_label = "Bevy OpenXR wgpu"
build_targets = ["aarch64-linux-android"]
assets = "assets"
runtime_libs = "libs"
min_sdk_version = 16
target_sdk_version = 29
[[package.metadata.android.application.meta_data]]
name = "com.samsung.android.vr.application.mode"
value = "vr_only"
[[package.metadata.android.application.meta_data]]
name = "com.oculus.supportedDevices"
value = "quest|quest2"
[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.meta_data]]
name = "com.oculus.vr.focusaware"
value = "true"
[[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.uses_permission]]
name = "com.oculus.permission.HAND_TRACKING"
[[package.metadata.android.uses_feature]]
name = "oculus.software.handtracking"
required = false
[profile.release]
opt-level = 3
#lto = true
[[example]]
name = "xr_apk_scene"
crate-type = ["cdylib"]
[[example]]
name = "xr_pc_scene"
[[example]]
name = "non_xr_scene"
[patch.crates-io]
bevy = { path = "./repos/bevy" }
openxr = { path = "./repos/openxrs/openxr" }
openxr-sys = { path = "./repos/openxrs/sys" }
wgpu = { path = "./repos/wgpu-rs" }