1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_proc-macro2_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_proc-macro2_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_library_host { 17 name: "libproc_macro2", 18 host_cross_supported: false, 19 crate_name: "proc_macro2", 20 cargo_env_compat: true, 21 cargo_pkg_version: "1.0.75", 22 crate_root: "src/lib.rs", 23 edition: "2021", 24 features: [ 25 "default", 26 "proc-macro", 27 "span-locations", 28 ], 29 cfgs: [ 30 "proc_macro_span", 31 "span_locations", 32 "wrap_proc_macro", 33 ], 34 rustlibs: ["libunicode_ident"], 35 compile_multilib: "first", 36} 37 38rust_test_host { 39 name: "proc-macro2_test_tests_comments", 40 host_cross_supported: false, 41 crate_name: "comments", 42 cargo_env_compat: true, 43 cargo_pkg_version: "1.0.75", 44 crate_root: "tests/comments.rs", 45 test_suites: ["general-tests"], 46 auto_gen_config: true, 47 test_options: { 48 unit_test: true, 49 }, 50 edition: "2021", 51 features: [ 52 "default", 53 "proc-macro", 54 "span-locations", 55 ], 56 cfgs: [ 57 "proc_macro_span", 58 "span_locations", 59 "wrap_proc_macro", 60 ], 61 rustlibs: [ 62 "libproc_macro2", 63 "libquote", 64 "libunicode_ident", 65 ], 66 proc_macros: ["librustversion"], 67} 68 69rust_test_host { 70 name: "proc-macro2_test_tests_features", 71 host_cross_supported: false, 72 crate_name: "features", 73 cargo_env_compat: true, 74 cargo_pkg_version: "1.0.75", 75 crate_root: "tests/features.rs", 76 test_suites: ["general-tests"], 77 auto_gen_config: true, 78 test_options: { 79 unit_test: true, 80 }, 81 edition: "2021", 82 features: [ 83 "default", 84 "proc-macro", 85 "span-locations", 86 ], 87 cfgs: [ 88 "proc_macro_span", 89 "span_locations", 90 "wrap_proc_macro", 91 ], 92 rustlibs: [ 93 "libproc_macro2", 94 "libquote", 95 "libunicode_ident", 96 ], 97 proc_macros: ["librustversion"], 98} 99 100rust_test_host { 101 name: "proc-macro2_test_tests_marker", 102 host_cross_supported: false, 103 crate_name: "marker", 104 cargo_env_compat: true, 105 cargo_pkg_version: "1.0.75", 106 crate_root: "tests/marker.rs", 107 test_suites: ["general-tests"], 108 auto_gen_config: true, 109 test_options: { 110 unit_test: true, 111 }, 112 edition: "2021", 113 features: [ 114 "default", 115 "proc-macro", 116 "span-locations", 117 ], 118 cfgs: [ 119 "proc_macro_span", 120 "span_locations", 121 "wrap_proc_macro", 122 ], 123 rustlibs: [ 124 "libproc_macro2", 125 "libquote", 126 "libunicode_ident", 127 ], 128 proc_macros: ["librustversion"], 129} 130 131rust_test_host { 132 name: "proc-macro2_test_tests_test", 133 host_cross_supported: false, 134 crate_name: "test", 135 cargo_env_compat: true, 136 cargo_pkg_version: "1.0.75", 137 crate_root: "tests/test.rs", 138 test_suites: ["general-tests"], 139 auto_gen_config: true, 140 test_options: { 141 unit_test: true, 142 }, 143 edition: "2021", 144 features: [ 145 "default", 146 "proc-macro", 147 "span-locations", 148 ], 149 cfgs: [ 150 "proc_macro_span", 151 "span_locations", 152 "wrap_proc_macro", 153 ], 154 rustlibs: [ 155 "libproc_macro2", 156 "libquote", 157 "libunicode_ident", 158 ], 159 proc_macros: ["librustversion"], 160} 161 162rust_test_host { 163 name: "proc-macro2_test_tests_test_fmt", 164 host_cross_supported: false, 165 crate_name: "test_fmt", 166 cargo_env_compat: true, 167 cargo_pkg_version: "1.0.75", 168 crate_root: "tests/test_fmt.rs", 169 test_suites: ["general-tests"], 170 auto_gen_config: true, 171 test_options: { 172 unit_test: true, 173 }, 174 edition: "2021", 175 features: [ 176 "default", 177 "proc-macro", 178 "span-locations", 179 ], 180 cfgs: [ 181 "proc_macro_span", 182 "span_locations", 183 "wrap_proc_macro", 184 ], 185 rustlibs: [ 186 "libproc_macro2", 187 "libquote", 188 "libunicode_ident", 189 ], 190 proc_macros: ["librustversion"], 191} 192 193rust_test_host { 194 name: "proc-macro2_test_tests_test_size", 195 host_cross_supported: false, 196 crate_name: "test_size", 197 cargo_env_compat: true, 198 cargo_pkg_version: "1.0.75", 199 crate_root: "tests/test_size.rs", 200 test_suites: ["general-tests"], 201 auto_gen_config: true, 202 test_options: { 203 unit_test: true, 204 }, 205 edition: "2021", 206 features: [ 207 "default", 208 "proc-macro", 209 "span-locations", 210 ], 211 cfgs: [ 212 "proc_macro_span", 213 "span_locations", 214 "wrap_proc_macro", 215 ], 216 rustlibs: [ 217 "libproc_macro2", 218 "libquote", 219 "libunicode_ident", 220 ], 221 proc_macros: ["librustversion"], 222} 223 224dirgroup { 225 name: "trusty_dirgroup_external_rust_crates_proc-macro2", 226 visibility: ["//trusty/vendor/google/aosp/scripts"], 227 dirs: ["."], 228} 229