blob: 67c84d682312b1cbcb77674f746281349c232bd1 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# fx update-rustc-third-party
###############################################################################
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load("@rules_rust//rust:defs.bzl", "rust_library")
load("@rules_license//rules:license.bzl", "license")
load("@rules_license//rules:package_info.bzl", "package_info")
package(
default_package_metadata = [
":license",
":package_info",
],
default_visibility = ["//visibility:public"],
)
package_info(
name = "package_info",
package_name = "openssl-sys",
package_url = "https://github.com/sfackler/rust-openssl",
package_version = "0.9.106",
)
license(
name = "license",
license_kinds = ["@rules_license//licenses/spdx:MIT"],
license_text = "LICENSE-MIT",
)
rust_library(
name = "openssl_sys",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"bssl-sys",
"unstable_boringssl",
],
crate_root = "src/lib.rs",
edition = "2021",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=openssl-sys",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-unknown-fuchsia": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-unknown-fuchsia": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "0.9.106",
deps = [
"//third_party/rust_crates/intree/bssl-sys:bssl_sys",
"//third_party/rust_crates/vendor/libc-0.2.174:libc",
"//third_party/rust_crates/vendor/openssl-sys-0.9.106:build_script_main",
],
)
cargo_build_script(
name = "_bs",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
"**/*.rs",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"bssl-sys",
"unstable_boringssl",
],
crate_name = "build_script_main",
crate_root = "build/main.rs",
data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2021",
link_deps = [
"//third_party/rust_crates/intree/bssl-sys:bssl_sys",
],
links = "openssl",
pkg_name = "openssl-sys",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=openssl-sys",
"manual",
"noclippy",
"norustfmt",
],
version = "0.9.106",
visibility = ["//visibility:private"],
deps = [
"//third_party/rust_crates/empty/cc",
"//third_party/rust_crates/empty/pkg-config:pkg_config",
"//third_party/rust_crates/empty/vcpkg",
],
)
alias(
name = "build_script_main",
actual = ":_bs",
tags = ["manual"],
)