blob: fd847f1b59f8a13e4ae78476b048a7149aff095c [file] [log] [blame]
UebelAndre59fab4e2022-03-03 06:49:27 -08001###############################################################################
2# @generated
UebelAndre824b1212022-07-15 05:32:23 -07003# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
UebelAndre59fab4e2022-03-03 06:49:27 -08005#
UebelAndre92977d12023-01-03 10:06:40 -08006# bazel run @//crate_universe/3rdparty:crates_vendor
UebelAndre59fab4e2022-03-03 06:49:27 -08007###############################################################################
8
David Tolnayd6e30032023-01-04 09:33:08 -08009load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
UebelAndre59fab4e2022-03-03 06:49:27 -080010load(
11 "@rules_rust//rust:defs.bzl",
12 "rust_library",
13)
14
15package(default_visibility = ["//visibility:public"])
16
17# licenses([
18# "TODO", # MIT/Apache-2.0
19# ])
20
21rust_library(
22 name = "winapi",
David Tolnayd6e30032023-01-04 09:33:08 -080023 srcs = glob(["**/*.rs"]),
UebelAndre60f26d42022-07-07 05:45:59 -070024 compile_data = glob(
25 include = ["**"],
26 exclude = [
UebelAndre9a047b02022-12-01 09:11:39 -080027 "**/* *",
UebelAndre9a047b02022-12-01 09:11:39 -080028 "BUILD",
David Tolnayd6e30032023-01-04 09:33:08 -080029 "BUILD.bazel",
UebelAndre9a047b02022-12-01 09:11:39 -080030 "WORKSPACE",
David Tolnayd6e30032023-01-04 09:33:08 -080031 "WORKSPACE.bazel",
UebelAndre60f26d42022-07-07 05:45:59 -070032 ],
David Tolnayd6e30032023-01-04 09:33:08 -080033 ),
UebelAndre59fab4e2022-03-03 06:49:27 -080034 crate_features = [
UebelAndreca567822022-10-12 08:10:44 -070035 "activation",
36 "combaseapi",
UebelAndre59fab4e2022-03-03 06:49:27 -080037 "consoleapi",
38 "errhandlingapi",
39 "fileapi",
40 "handleapi",
41 "minwinbase",
42 "minwindef",
UebelAndre9a047b02022-12-01 09:11:39 -080043 "ntdef",
UebelAndre59fab4e2022-03-03 06:49:27 -080044 "ntsecapi",
UebelAndreca567822022-10-12 08:10:44 -070045 "objbase",
UebelAndre59fab4e2022-03-03 06:49:27 -080046 "processenv",
47 "profileapi",
UebelAndreca567822022-10-12 08:10:44 -070048 "roapi",
UebelAndre59fab4e2022-03-03 06:49:27 -080049 "shlobj",
50 "std",
51 "timezoneapi",
52 "winbase",
53 "wincon",
54 "winerror",
55 "winnt",
UebelAndreca567822022-10-12 08:10:44 -070056 "winstring",
UebelAndre59fab4e2022-03-03 06:49:27 -080057 ],
58 crate_root = "src/lib.rs",
UebelAndre59fab4e2022-03-03 06:49:27 -080059 edition = "2015",
David Tolnayd6e30032023-01-04 09:33:08 -080060 rustc_flags = ["--cap-lints=allow"],
UebelAndre59fab4e2022-03-03 06:49:27 -080061 tags = [
62 "cargo-bazel",
63 "manual",
64 "noclippy",
65 "norustfmt",
66 ],
67 version = "0.3.9",
68 deps = [
David Tolnayd6e30032023-01-04 09:33:08 -080069 "@cui__winapi-0.3.9//:build_script_build",
70 ],
UebelAndre59fab4e2022-03-03 06:49:27 -080071)
72
73cargo_build_script(
UebelAndre59fab4e2022-03-03 06:49:27 -080074 name = "winapi_build_script",
David Tolnayd6e30032023-01-04 09:33:08 -080075 srcs = glob(["**/*.rs"]),
UebelAndre59fab4e2022-03-03 06:49:27 -080076 crate_features = [
UebelAndreca567822022-10-12 08:10:44 -070077 "activation",
78 "combaseapi",
UebelAndre59fab4e2022-03-03 06:49:27 -080079 "consoleapi",
80 "errhandlingapi",
81 "fileapi",
82 "handleapi",
83 "minwinbase",
84 "minwindef",
UebelAndre9a047b02022-12-01 09:11:39 -080085 "ntdef",
UebelAndre59fab4e2022-03-03 06:49:27 -080086 "ntsecapi",
UebelAndreca567822022-10-12 08:10:44 -070087 "objbase",
UebelAndre59fab4e2022-03-03 06:49:27 -080088 "processenv",
89 "profileapi",
UebelAndreca567822022-10-12 08:10:44 -070090 "roapi",
UebelAndre59fab4e2022-03-03 06:49:27 -080091 "shlobj",
92 "std",
93 "timezoneapi",
94 "winbase",
95 "wincon",
96 "winerror",
97 "winnt",
UebelAndreca567822022-10-12 08:10:44 -070098 "winstring",
UebelAndre59fab4e2022-03-03 06:49:27 -080099 ],
100 crate_name = "build_script_build",
101 crate_root = "build.rs",
UebelAndre9a047b02022-12-01 09:11:39 -0800102 data = glob(
103 include = ["**"],
104 exclude = [
105 "**/* *",
UebelAndre9a047b02022-12-01 09:11:39 -0800106 "BUILD",
David Tolnayd6e30032023-01-04 09:33:08 -0800107 "BUILD.bazel",
UebelAndre9a047b02022-12-01 09:11:39 -0800108 "WORKSPACE",
David Tolnayd6e30032023-01-04 09:33:08 -0800109 "WORKSPACE.bazel",
UebelAndre9a047b02022-12-01 09:11:39 -0800110 ],
David Tolnayd6e30032023-01-04 09:33:08 -0800111 ),
UebelAndre59fab4e2022-03-03 06:49:27 -0800112 edition = "2015",
UebelAndre59fab4e2022-03-03 06:49:27 -0800113 rustc_flags = [
UebelAndre59fab4e2022-03-03 06:49:27 -0800114 "--cap-lints=allow",
UebelAndred3197a62022-06-13 06:07:49 -0700115 ],
UebelAndre59fab4e2022-03-03 06:49:27 -0800116 tags = [
117 "cargo-bazel",
118 "manual",
119 "noclippy",
120 "norustfmt",
121 ],
UebelAndre59fab4e2022-03-03 06:49:27 -0800122 version = "0.3.9",
123 visibility = ["//visibility:private"],
UebelAndre59fab4e2022-03-03 06:49:27 -0800124)
125
126alias(
UebelAndre59fab4e2022-03-03 06:49:27 -0800127 name = "build_script_build",
128 actual = "winapi_build_script",
David Tolnayd6e30032023-01-04 09:33:08 -0800129 tags = ["manual"],
UebelAndre59fab4e2022-03-03 06:49:27 -0800130)