-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
57 lines (46 loc) · 1.56 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
[package]
name = "hello_world_android_egui"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["lib", "cdylib"]
[dependencies]
egui = "0.29"
egui-winit = "0.29"
egui_demo_lib = "0.29" # Same as egui version in egui_wgpu_backend
egui_wgpu_backend = "0.31"
epi = "0.17"
chrono = "0.4"
pollster = "0.3"
wgpu = { version = "22", default-features = false }
tracing-subscriber = "0.3"
log = "*"
[profile.release]
strip = "debuginfo"
[target.'cfg(debug_assertions)'.dependencies]
simple_logger = "*"
android_logger = "0.14.1"
# This dependency will only be included when not targeting Android
[target.'cfg(not(target_os = "android"))'.dependencies]
winit = { version= "0.30", features = ["wayland", "x11"] }
egui_winit_platform = { version = "0.24", features = ["clipboard"] }
# This dependency will only be included when targeting Android
[target.'cfg(target_os = "android")'.dependencies]
winit = { version= "0.30", features = ["android-native-activity"] } #default-features = false,
egui_winit_platform = { version = "0.24", features = ["default_fonts"] }
[package.metadata.android]
package = "org.egui.helloworld"
build_targets = [ "aarch64-linux-android" ]
#build_targets = [ "armv7-linux-androideabi" ]
large_heap = true
[package.metadata.android.sdk]
min_sdk_version = 20
target_sdk_version = 32
[package.metadata.android.application]
extract_native_libs = true
[package.metadata.android.application.activity]
config_changes = "orientation"
# Change to your location
[package.metadata.android.signing.release]
path = "/home/inferno/.android/debug.keystore"
keystore_password = "android"