blob: 7b128afd4bdb6809c7b7b621b516871e0988b665 [file] [log] [blame]
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
# buildifier: disable=load
load(
"@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_library",
"rust_proc_macro",
"rust_test",
)
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", # BSD-3-Clause from expression "BSD-3-Clause"
])
# Generated Targets
# buildifier: disable=out-of-order-load
# buildifier: disable=load-on-top
load(
"@rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "autocxx_bindgen_build_script",
srcs = glob(["**/*.rs"]),
build_script_env = {
},
crate_features = [
"clap",
"default",
"env_logger",
"log",
"logging",
"runtime",
"which",
"which-rustfmt",
],
crate_root = "build.rs",
data = glob(["**"]),
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.59.17",
visibility = ["//visibility:private"],
deps = [
"@raze__clang_sys__1_4_0//:clang_sys",
],
)
rust_binary(
# Prefix bin name to disambiguate from (probable) collision with lib name
# N.B.: The exact form of this is subject to change.
name = "cargo_bin_autocxx_bindgen",
srcs = glob(["**/*.rs"]),
crate_features = [
"clap",
"default",
"env_logger",
"log",
"logging",
"runtime",
"which",
"which-rustfmt",
],
crate_root = "src/main.rs",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=autocxx-bindgen",
"manual",
],
version = "0.59.17",
# buildifier: leave-alone
deps = [
":autocxx_bindgen",
":autocxx_bindgen_build_script",
"@raze__bitflags__1_3_2//:bitflags",
"@raze__cexpr__0_6_0//:cexpr",
"@raze__clang_sys__1_4_0//:clang_sys",
"@raze__clap__2_34_0//:clap",
"@raze__env_logger__0_9_3//:env_logger",
"@raze__itertools__0_10_5//:itertools",
"@raze__lazy_static__1_4_0//:lazy_static",
"@raze__lazycell__1_3_0//:lazycell",
"@raze__log__0_4_17//:log",
"@raze__peeking_take_while__0_1_2//:peeking_take_while",
"@raze__proc_macro2__1_0_49//:proc_macro2",
"@raze__quote__1_0_23//:quote",
"@raze__regex__1_7_0//:regex",
"@raze__rustc_hash__1_1_0//:rustc_hash",
"@raze__shlex__1_1_0//:shlex",
"@raze__which__4_3_0//:which",
],
)
rust_library(
name = "autocxx_bindgen",
srcs = glob(["**/*.rs"]),
crate_features = [
"clap",
"default",
"env_logger",
"log",
"logging",
"runtime",
"which",
"which-rustfmt",
],
crate_root = "src/lib.rs",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=autocxx-bindgen",
"manual",
],
version = "0.59.17",
# buildifier: leave-alone
deps = [
":autocxx_bindgen_build_script",
"@raze__bitflags__1_3_2//:bitflags",
"@raze__cexpr__0_6_0//:cexpr",
"@raze__clang_sys__1_4_0//:clang_sys",
"@raze__clap__2_34_0//:clap",
"@raze__env_logger__0_9_3//:env_logger",
"@raze__itertools__0_10_5//:itertools",
"@raze__lazy_static__1_4_0//:lazy_static",
"@raze__lazycell__1_3_0//:lazycell",
"@raze__log__0_4_17//:log",
"@raze__peeking_take_while__0_1_2//:peeking_take_while",
"@raze__proc_macro2__1_0_49//:proc_macro2",
"@raze__quote__1_0_23//:quote",
"@raze__regex__1_7_0//:regex",
"@raze__rustc_hash__1_1_0//:rustc_hash",
"@raze__shlex__1_1_0//:shlex",
"@raze__which__4_3_0//:which",
],
)