nandi/jolt-nativepublic Fork 0
a7f62025fc9a5a5db4edb9a6ba6808dc31f7596b
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Build libvidya for the phone, and hold the glue that boots it d942053 · on a7f62025fc9a5a5db4edb9a6ba6808dc31f7596b · nandi · 19d ago
BUCK · 23 lines · 775 BPython Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The egui theme layer. Mirrors crates/vidya-core/Cargo.toml.
rust_library(
    name = "vidya",
    # include_bytes! reads these at compile time, so they belong in srcs
    # rather than resources.
    srcs = glob(["src/**/*.rs"]) + [
        "assets/vidya-symbols.ttf",
        "assets/emoji/twemoji-72x72.zip",
    ],
    crate_root = "src/lib.rs",
    edition = "2021",
    visibility = ["PUBLIC"],
    deps = [
        "//third-party/rust:egui",
        "//third-party/rust:png",
        "//third-party/rust:zip",
    ] + select({
        "DEFAULT": [],
        # `sync_system_chrome_from_android` reads the insets off the
        # NativeActivity handle. Mirrors the target-gated dep in Cargo.toml.
        "prelude//os:android": ["//third-party/rust:winit"],
    }),
)