146 lines
4.4 KiB
Python
146 lines
4.4 KiB
Python
"""
|
|
@generated
|
|
cargo-raze crate build file.
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
"""
|
|
|
|
# buildifier: disable=load
|
|
load(
|
|
"@rules_rust//rust:rust.bzl",
|
|
"rust_binary",
|
|
"rust_library",
|
|
"rust_test",
|
|
)
|
|
|
|
# buildifier: disable=load
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
package(default_visibility = [
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
#
|
|
# Prefer access through "//third_party/cargo", which limits external
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
"//visibility:public",
|
|
])
|
|
|
|
licenses([
|
|
"notice", # Apache-2.0 from expression "Apache-2.0"
|
|
])
|
|
|
|
# Generated Targets
|
|
|
|
# Unsupported target "control_flow" with type "example" omitted
|
|
|
|
# Unsupported target "cursor" with type "example" omitted
|
|
|
|
# Unsupported target "cursor_grab" with type "example" omitted
|
|
|
|
# Unsupported target "custom_events" with type "example" omitted
|
|
|
|
# Unsupported target "fullscreen" with type "example" omitted
|
|
|
|
# Unsupported target "handling_close" with type "example" omitted
|
|
|
|
# Unsupported target "min_max_size" with type "example" omitted
|
|
|
|
# Unsupported target "minimize" with type "example" omitted
|
|
|
|
# Unsupported target "monitor_list" with type "example" omitted
|
|
|
|
# Unsupported target "multithreaded" with type "example" omitted
|
|
|
|
# Unsupported target "multiwindow" with type "example" omitted
|
|
|
|
# Unsupported target "request_redraw" with type "example" omitted
|
|
|
|
# Unsupported target "request_redraw_threaded" with type "example" omitted
|
|
|
|
# Unsupported target "resizable" with type "example" omitted
|
|
|
|
# Unsupported target "set_ime_position" with type "example" omitted
|
|
|
|
# Unsupported target "timer" with type "example" omitted
|
|
|
|
# Unsupported target "transparent" with type "example" omitted
|
|
|
|
# Unsupported target "video_modes" with type "example" omitted
|
|
|
|
# Unsupported target "web" with type "example" omitted
|
|
|
|
# Unsupported target "window" with type "example" omitted
|
|
|
|
# Unsupported target "window_debug" with type "example" omitted
|
|
|
|
# Unsupported target "window_icon" with type "example" omitted
|
|
|
|
# Unsupported target "window_run_return" with type "example" omitted
|
|
|
|
rust_library(
|
|
name = "winit",
|
|
srcs = glob(["**/*.rs"]),
|
|
aliases = {
|
|
"//third_party/cargo/vendor/smithay-client-toolkit-0.12.3:smithay_client_toolkit": "sctk",
|
|
},
|
|
crate_features = [
|
|
"default",
|
|
"mio",
|
|
"mio-extras",
|
|
"parking_lot",
|
|
"percent-encoding",
|
|
"sctk",
|
|
"wayland",
|
|
"wayland-client",
|
|
"x11",
|
|
"x11-dl",
|
|
],
|
|
crate_root = "src/lib.rs",
|
|
crate_type = "lib",
|
|
data = [],
|
|
edition = "2018",
|
|
rustc_flags = [
|
|
"--cap-lints=allow",
|
|
],
|
|
tags = [
|
|
"cargo-raze",
|
|
"manual",
|
|
],
|
|
version = "0.24.0",
|
|
# buildifier: leave-alone
|
|
deps = [
|
|
"//third_party/cargo/vendor/bitflags-1.2.1:bitflags",
|
|
"//third_party/cargo/vendor/instant-0.1.9:instant",
|
|
"//third_party/cargo/vendor/lazy_static-1.4.0:lazy_static",
|
|
"//third_party/cargo/vendor/libc-0.2.92:libc",
|
|
"//third_party/cargo/vendor/log-0.4.14:log",
|
|
"//third_party/cargo/vendor/raw-window-handle-0.3.3:raw_window_handle",
|
|
] + selects.with_or({
|
|
# cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))
|
|
(
|
|
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
|
): [
|
|
"//third_party/cargo/vendor/mio-0.6.23:mio",
|
|
"//third_party/cargo/vendor/mio-extras-2.0.6:mio_extras",
|
|
"//third_party/cargo/vendor/parking_lot-0.11.1:parking_lot",
|
|
"//third_party/cargo/vendor/percent-encoding-2.1.0:percent_encoding",
|
|
"//third_party/cargo/vendor/smithay-client-toolkit-0.12.3:smithay_client_toolkit",
|
|
"//third_party/cargo/vendor/wayland-client-0.28.5:wayland_client",
|
|
"//third_party/cargo/vendor/x11-dl-2.18.5:x11_dl",
|
|
],
|
|
"//conditions:default": [],
|
|
}) + selects.with_or({
|
|
# cfg(target_os = "windows")
|
|
(
|
|
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
|
): [
|
|
"//third_party/cargo/vendor/winapi-0.3.9:winapi",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|
|
|
|
# Unsupported target "send_objects" with type "test" omitted
|
|
|
|
# Unsupported target "serde_objects" with type "test" omitted
|
|
|
|
# Unsupported target "sync_object" with type "test" omitted
|