146 lines
4.0 KiB
Plaintext
146 lines
4.0 KiB
Plaintext
"""
|
|
@generated
|
|
cargo-raze crate build file.
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
"""
|
|
|
|
# buildifier: disable=load
|
|
load(
|
|
"@io_bazel_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 "//cargo", which limits external
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
"//visibility:public",
|
|
])
|
|
|
|
licenses([
|
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
|
])
|
|
|
|
# Generated Targets
|
|
# buildifier: disable=load-on-top
|
|
load(
|
|
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
|
|
"cargo_build_script",
|
|
)
|
|
|
|
cargo_build_script(
|
|
name = "native_tls_build_script",
|
|
srcs = glob(["**/*.rs"]),
|
|
build_script_env = {
|
|
},
|
|
crate_features = [
|
|
],
|
|
crate_root = "build.rs",
|
|
data = glob(["**"]),
|
|
edition = "2015",
|
|
rustc_flags = [
|
|
"--cap-lints=allow",
|
|
],
|
|
tags = [
|
|
"cargo-raze",
|
|
"manual",
|
|
],
|
|
version = "0.2.6",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
] + selects.with_or({
|
|
# cfg(any(target_os = "macos", target_os = "ios"))
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
|
): [
|
|
"@raze__security_framework_sys__2_0_0//:security_framework_sys",
|
|
],
|
|
"//conditions:default": [],
|
|
}) + selects.with_or({
|
|
# cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
|
): [
|
|
"@raze__openssl_sys__0_9_59//:openssl_sys",
|
|
],
|
|
"//conditions:default": [],
|
|
}) + selects.with_or({
|
|
# cfg(target_os = "windows")
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
|
): [
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|
|
|
|
# Unsupported target "google-connect" with type "example" omitted
|
|
|
|
# Unsupported target "simple-server" with type "example" omitted
|
|
|
|
rust_library(
|
|
name = "native_tls",
|
|
srcs = glob(["**/*.rs"]),
|
|
aliases = {
|
|
},
|
|
crate_features = [
|
|
],
|
|
crate_root = "src/lib.rs",
|
|
crate_type = "lib",
|
|
edition = "2015",
|
|
rustc_flags = [
|
|
"--cap-lints=allow",
|
|
],
|
|
tags = [
|
|
"cargo-raze",
|
|
"manual",
|
|
],
|
|
version = "0.2.6",
|
|
# buildifier: leave-alone
|
|
deps = [
|
|
":native_tls_build_script",
|
|
] + selects.with_or({
|
|
# cfg(any(target_os = "macos", target_os = "ios"))
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
|
): [
|
|
"@raze__lazy_static__1_4_0//:lazy_static",
|
|
"@raze__libc__0_2_81//:libc",
|
|
"@raze__security_framework__2_0_0//:security_framework",
|
|
"@raze__security_framework_sys__2_0_0//:security_framework_sys",
|
|
"@raze__tempfile__3_1_0//:tempfile",
|
|
],
|
|
"//conditions:default": [],
|
|
}) + selects.with_or({
|
|
# cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
|
): [
|
|
"@raze__log__0_4_11//:log",
|
|
"@raze__openssl__0_10_31//:openssl",
|
|
"@raze__openssl_probe__0_1_2//:openssl_probe",
|
|
"@raze__openssl_sys__0_9_59//:openssl_sys",
|
|
],
|
|
"//conditions:default": [],
|
|
}) + selects.with_or({
|
|
# cfg(target_os = "windows")
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
|
): [
|
|
"@raze__schannel__0_1_19//:schannel",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|