# 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"], }), )