xref: /aosp_15_r20/external/bazelbuild-rules_rust/bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6#     bazel run @//bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14rust_library(
15    name = "bindgen",
16    srcs = glob(
17        include = ["**/*.rs"],
18        allow_empty = True,
19    ),
20    compile_data = glob(
21        include = ["**"],
22        allow_empty = True,
23        exclude = [
24            "**/* *",
25            ".tmp_git_root/**/*",
26            "BUILD",
27            "BUILD.bazel",
28            "WORKSPACE",
29            "WORKSPACE.bazel",
30        ],
31    ),
32    crate_features = [
33        "__cli",
34        "experimental",
35        "runtime",
36    ],
37    crate_root = "lib.rs",
38    edition = "2018",
39    rustc_flags = [
40        "--cap-lints=allow",
41    ],
42    tags = [
43        "cargo-bazel",
44        "crate-name=bindgen",
45        "manual",
46        "noclippy",
47        "norustfmt",
48    ],
49    target_compatible_with = select({
50        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
51        "@rules_rust//rust/platform:aarch64-apple-ios": [],
52        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
53        "@rules_rust//rust/platform:aarch64-fuchsia": [],
54        "@rules_rust//rust/platform:aarch64-linux-android": [],
55        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
56        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
57        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
58        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
59        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
60        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
61        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
62        "@rules_rust//rust/platform:i686-apple-darwin": [],
63        "@rules_rust//rust/platform:i686-linux-android": [],
64        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
65        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
66        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
67        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
68        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
69        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
70        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
71        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
72        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
73        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
74        "@rules_rust//rust/platform:wasm32-wasi": [],
75        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
76        "@rules_rust//rust/platform:x86_64-apple-ios": [],
77        "@rules_rust//rust/platform:x86_64-fuchsia": [],
78        "@rules_rust//rust/platform:x86_64-linux-android": [],
79        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
80        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
81        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
82        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
83        "@rules_rust//rust/platform:x86_64-unknown-none": [],
84        "//conditions:default": ["@platforms//:incompatible"],
85    }),
86    version = "0.69.1",
87    deps = [
88        "@rules_rust_bindgen__annotate-snippets-0.9.1//:annotate_snippets",
89        "@rules_rust_bindgen__bindgen-0.69.1//:build_script_build",
90        "@rules_rust_bindgen__bitflags-2.4.1//:bitflags",
91        "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
92        "@rules_rust_bindgen__clang-sys-1.6.1//:clang_sys",
93        "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
94        "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
95        "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
96        "@rules_rust_bindgen__proc-macro2-1.0.60//:proc_macro2",
97        "@rules_rust_bindgen__quote-1.0.28//:quote",
98        "@rules_rust_bindgen__regex-1.8.4//:regex",
99        "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
100        "@rules_rust_bindgen__shlex-1.1.0//:shlex",
101        "@rules_rust_bindgen__syn-2.0.18//:syn",
102    ],
103)
104
105cargo_build_script(
106    name = "_bs",
107    srcs = glob(
108        include = ["**/*.rs"],
109        allow_empty = True,
110    ),
111    crate_features = [
112        "__cli",
113        "experimental",
114        "runtime",
115    ],
116    crate_name = "build_script_build",
117    crate_root = "build.rs",
118    data = glob(
119        include = ["**"],
120        allow_empty = True,
121        exclude = [
122            "**/* *",
123            ".tmp_git_root/**/*",
124            "BUILD",
125            "BUILD.bazel",
126            "WORKSPACE",
127            "WORKSPACE.bazel",
128        ],
129    ),
130    edition = "2018",
131    link_deps = [
132        "@rules_rust_bindgen__clang-sys-1.6.1//:clang_sys",
133    ],
134    pkg_name = "bindgen",
135    rustc_flags = [
136        "--cap-lints=allow",
137    ],
138    tags = [
139        "cargo-bazel",
140        "crate-name=bindgen",
141        "manual",
142        "noclippy",
143        "norustfmt",
144    ],
145    version = "0.69.1",
146    visibility = ["//visibility:private"],
147)
148
149alias(
150    name = "build_script_build",
151    actual = ":_bs",
152    tags = ["manual"],
153)
154