xref: /aosp_15_r20/external/bazelbuild-rules_rust/test/3rdparty/crates/BUILD.proc-macro2-1.0.86.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 @//test/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 = "proc_macro2",
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        "proc-macro",
34*d4726bddSHONG Yifan    ],
35*d4726bddSHONG Yifan    crate_root = "src/lib.rs",
36*d4726bddSHONG Yifan    edition = "2021",
37*d4726bddSHONG Yifan    rustc_flags = [
38*d4726bddSHONG Yifan        "--cap-lints=allow",
39*d4726bddSHONG Yifan    ],
40*d4726bddSHONG Yifan    tags = [
41*d4726bddSHONG Yifan        "cargo-bazel",
42*d4726bddSHONG Yifan        "crate-name=proc-macro2",
43*d4726bddSHONG Yifan        "manual",
44*d4726bddSHONG Yifan        "noclippy",
45*d4726bddSHONG Yifan        "norustfmt",
46*d4726bddSHONG Yifan    ],
47*d4726bddSHONG Yifan    target_compatible_with = select({
48*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
49*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios": [],
50*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
51*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-fuchsia": [],
52*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-linux-android": [],
53*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
54*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
55*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
56*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
57*d4726bddSHONG Yifan        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
58*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
59*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
60*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-apple-darwin": [],
61*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-linux-android": [],
62*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
63*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
64*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
65*d4726bddSHONG Yifan        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
66*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
67*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
68*d4726bddSHONG Yifan        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
69*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
70*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
71*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
72*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-wasi": [],
73*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
74*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-ios": [],
75*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-fuchsia": [],
76*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-linux-android": [],
77*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
78*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
79*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
80*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
81*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-none": [],
82*d4726bddSHONG Yifan        "//conditions:default": ["@platforms//:incompatible"],
83*d4726bddSHONG Yifan    }),
84*d4726bddSHONG Yifan    version = "1.0.86",
85*d4726bddSHONG Yifan    deps = [
86*d4726bddSHONG Yifan        "@t3p__proc-macro2-1.0.86//:build_script_build",
87*d4726bddSHONG Yifan        "@t3p__unicode-ident-1.0.12//:unicode_ident",
88*d4726bddSHONG Yifan    ],
89*d4726bddSHONG Yifan)
90*d4726bddSHONG Yifan
91*d4726bddSHONG Yifancargo_build_script(
92*d4726bddSHONG Yifan    name = "_bs",
93*d4726bddSHONG Yifan    srcs = glob(
94*d4726bddSHONG Yifan        include = ["**/*.rs"],
95*d4726bddSHONG Yifan        allow_empty = True,
96*d4726bddSHONG Yifan    ),
97*d4726bddSHONG Yifan    crate_features = [
98*d4726bddSHONG Yifan        "proc-macro",
99*d4726bddSHONG Yifan    ],
100*d4726bddSHONG Yifan    crate_name = "build_script_build",
101*d4726bddSHONG Yifan    crate_root = "build.rs",
102*d4726bddSHONG Yifan    data = glob(
103*d4726bddSHONG Yifan        include = ["**"],
104*d4726bddSHONG Yifan        allow_empty = True,
105*d4726bddSHONG Yifan        exclude = [
106*d4726bddSHONG Yifan            "**/* *",
107*d4726bddSHONG Yifan            ".tmp_git_root/**/*",
108*d4726bddSHONG Yifan            "BUILD",
109*d4726bddSHONG Yifan            "BUILD.bazel",
110*d4726bddSHONG Yifan            "WORKSPACE",
111*d4726bddSHONG Yifan            "WORKSPACE.bazel",
112*d4726bddSHONG Yifan        ],
113*d4726bddSHONG Yifan    ),
114*d4726bddSHONG Yifan    edition = "2021",
115*d4726bddSHONG Yifan    pkg_name = "proc-macro2",
116*d4726bddSHONG Yifan    rustc_flags = [
117*d4726bddSHONG Yifan        "--cap-lints=allow",
118*d4726bddSHONG Yifan    ],
119*d4726bddSHONG Yifan    tags = [
120*d4726bddSHONG Yifan        "cargo-bazel",
121*d4726bddSHONG Yifan        "crate-name=proc-macro2",
122*d4726bddSHONG Yifan        "manual",
123*d4726bddSHONG Yifan        "noclippy",
124*d4726bddSHONG Yifan        "norustfmt",
125*d4726bddSHONG Yifan    ],
126*d4726bddSHONG Yifan    version = "1.0.86",
127*d4726bddSHONG Yifan    visibility = ["//visibility:private"],
128*d4726bddSHONG Yifan)
129*d4726bddSHONG Yifan
130*d4726bddSHONG Yifanalias(
131*d4726bddSHONG Yifan    name = "build_script_build",
132*d4726bddSHONG Yifan    actual = ":_bs",
133*d4726bddSHONG Yifan    tags = ["manual"],
134*d4726bddSHONG Yifan)
135