xref: /aosp_15_r20/external/bazelbuild-rules_rust/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan###############################################################################
2*d4726bddSHONG Yifan# @generated
3*d4726bddSHONG Yifan# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4*d4726bddSHONG Yifan# regenerate this file, run the following:
5*d4726bddSHONG Yifan#
6*d4726bddSHONG Yifan#     bazel run @//bindgen/3rdparty:crates_vendor
7*d4726bddSHONG Yifan###############################################################################
8*d4726bddSHONG Yifan
9*d4726bddSHONG Yifanload("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10*d4726bddSHONG Yifanload("@rules_rust//rust:defs.bzl", "rust_library")
11*d4726bddSHONG Yifan
12*d4726bddSHONG Yifanpackage(default_visibility = ["//visibility:public"])
13*d4726bddSHONG Yifan
14*d4726bddSHONG Yifanrust_library(
15*d4726bddSHONG Yifan    name = "winapi",
16*d4726bddSHONG Yifan    srcs = glob(
17*d4726bddSHONG Yifan        include = ["**/*.rs"],
18*d4726bddSHONG Yifan        allow_empty = True,
19*d4726bddSHONG Yifan    ),
20*d4726bddSHONG Yifan    compile_data = glob(
21*d4726bddSHONG Yifan        include = ["**"],
22*d4726bddSHONG Yifan        allow_empty = True,
23*d4726bddSHONG Yifan        exclude = [
24*d4726bddSHONG Yifan            "**/* *",
25*d4726bddSHONG Yifan            ".tmp_git_root/**/*",
26*d4726bddSHONG Yifan            "BUILD",
27*d4726bddSHONG Yifan            "BUILD.bazel",
28*d4726bddSHONG Yifan            "WORKSPACE",
29*d4726bddSHONG Yifan            "WORKSPACE.bazel",
30*d4726bddSHONG Yifan        ],
31*d4726bddSHONG Yifan    ),
32*d4726bddSHONG Yifan    crate_features = [
33*d4726bddSHONG Yifan        "consoleapi",
34*d4726bddSHONG Yifan        "errhandlingapi",
35*d4726bddSHONG Yifan        "fileapi",
36*d4726bddSHONG Yifan        "handleapi",
37*d4726bddSHONG Yifan        "libloaderapi",
38*d4726bddSHONG Yifan        "minwindef",
39*d4726bddSHONG Yifan        "processenv",
40*d4726bddSHONG Yifan        "std",
41*d4726bddSHONG Yifan        "winbase",
42*d4726bddSHONG Yifan        "wincon",
43*d4726bddSHONG Yifan        "winerror",
44*d4726bddSHONG Yifan        "winnt",
45*d4726bddSHONG Yifan    ],
46*d4726bddSHONG Yifan    crate_root = "src/lib.rs",
47*d4726bddSHONG Yifan    edition = "2015",
48*d4726bddSHONG Yifan    rustc_flags = [
49*d4726bddSHONG Yifan        "--cap-lints=allow",
50*d4726bddSHONG Yifan    ],
51*d4726bddSHONG Yifan    tags = [
52*d4726bddSHONG Yifan        "cargo-bazel",
53*d4726bddSHONG Yifan        "crate-name=winapi",
54*d4726bddSHONG Yifan        "manual",
55*d4726bddSHONG Yifan        "noclippy",
56*d4726bddSHONG Yifan        "norustfmt",
57*d4726bddSHONG Yifan    ],
58*d4726bddSHONG Yifan    target_compatible_with = select({
59*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
60*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios": [],
61*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
62*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-fuchsia": [],
63*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-linux-android": [],
64*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
65*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
66*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
67*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
68*d4726bddSHONG Yifan        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
69*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
70*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
71*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-apple-darwin": [],
72*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-linux-android": [],
73*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
74*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
75*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
76*d4726bddSHONG Yifan        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
77*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
78*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
79*d4726bddSHONG Yifan        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
80*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
81*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
82*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
83*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-wasi": [],
84*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
85*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-ios": [],
86*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-fuchsia": [],
87*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-linux-android": [],
88*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
89*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
90*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
91*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
92*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-none": [],
93*d4726bddSHONG Yifan        "//conditions:default": ["@platforms//:incompatible"],
94*d4726bddSHONG Yifan    }),
95*d4726bddSHONG Yifan    version = "0.3.9",
96*d4726bddSHONG Yifan    deps = [
97*d4726bddSHONG Yifan        "@rules_rust_bindgen__winapi-0.3.9//:build_script_build",
98*d4726bddSHONG Yifan    ],
99*d4726bddSHONG Yifan)
100*d4726bddSHONG Yifan
101*d4726bddSHONG Yifancargo_build_script(
102*d4726bddSHONG Yifan    name = "_bs",
103*d4726bddSHONG Yifan    srcs = glob(
104*d4726bddSHONG Yifan        include = ["**/*.rs"],
105*d4726bddSHONG Yifan        allow_empty = True,
106*d4726bddSHONG Yifan    ),
107*d4726bddSHONG Yifan    crate_features = [
108*d4726bddSHONG Yifan        "consoleapi",
109*d4726bddSHONG Yifan        "errhandlingapi",
110*d4726bddSHONG Yifan        "fileapi",
111*d4726bddSHONG Yifan        "handleapi",
112*d4726bddSHONG Yifan        "libloaderapi",
113*d4726bddSHONG Yifan        "minwindef",
114*d4726bddSHONG Yifan        "processenv",
115*d4726bddSHONG Yifan        "std",
116*d4726bddSHONG Yifan        "winbase",
117*d4726bddSHONG Yifan        "wincon",
118*d4726bddSHONG Yifan        "winerror",
119*d4726bddSHONG Yifan        "winnt",
120*d4726bddSHONG Yifan    ],
121*d4726bddSHONG Yifan    crate_name = "build_script_build",
122*d4726bddSHONG Yifan    crate_root = "build.rs",
123*d4726bddSHONG Yifan    data = glob(
124*d4726bddSHONG Yifan        include = ["**"],
125*d4726bddSHONG Yifan        allow_empty = True,
126*d4726bddSHONG Yifan        exclude = [
127*d4726bddSHONG Yifan            "**/* *",
128*d4726bddSHONG Yifan            ".tmp_git_root/**/*",
129*d4726bddSHONG Yifan            "BUILD",
130*d4726bddSHONG Yifan            "BUILD.bazel",
131*d4726bddSHONG Yifan            "WORKSPACE",
132*d4726bddSHONG Yifan            "WORKSPACE.bazel",
133*d4726bddSHONG Yifan        ],
134*d4726bddSHONG Yifan    ),
135*d4726bddSHONG Yifan    edition = "2015",
136*d4726bddSHONG Yifan    pkg_name = "winapi",
137*d4726bddSHONG Yifan    rustc_flags = [
138*d4726bddSHONG Yifan        "--cap-lints=allow",
139*d4726bddSHONG Yifan    ],
140*d4726bddSHONG Yifan    tags = [
141*d4726bddSHONG Yifan        "cargo-bazel",
142*d4726bddSHONG Yifan        "crate-name=winapi",
143*d4726bddSHONG Yifan        "manual",
144*d4726bddSHONG Yifan        "noclippy",
145*d4726bddSHONG Yifan        "norustfmt",
146*d4726bddSHONG Yifan    ],
147*d4726bddSHONG Yifan    version = "0.3.9",
148*d4726bddSHONG Yifan    visibility = ["//visibility:private"],
149*d4726bddSHONG Yifan)
150*d4726bddSHONG Yifan
151*d4726bddSHONG Yifanalias(
152*d4726bddSHONG Yifan    name = "build_script_build",
153*d4726bddSHONG Yifan    actual = ":_bs",
154*d4726bddSHONG Yifan    tags = ["manual"],
155*d4726bddSHONG Yifan)
156