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_num-bigint_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_num-bigint_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16genrule {
17    name: "copy_num-bigint_build_out",
18    srcs: ["out/*"],
19    cmd: "cp $(in) $(genDir)",
20    out: ["radix_bases.rs"],
21}
22
23rust_library {
24    name: "libnum_bigint",
25    host_supported: true,
26    crate_name: "num_bigint",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.4.4",
29    crate_root: "src/lib.rs",
30    srcs: [":copy_num-bigint_build_out"],
31    edition: "2018",
32    features: [
33        "default",
34        "std",
35    ],
36    cfgs: [
37        "has_try_from",
38        "u64_digit",
39    ],
40    rustlibs: [
41        "libnum_integer",
42        "libnum_traits",
43    ],
44    apex_available: [
45        "//apex_available:platform",
46        "com.android.virt",
47    ],
48    product_available: true,
49    vendor_available: true,
50}
51
52rust_test {
53    name: "num-bigint_test_src_lib",
54    host_supported: true,
55    crate_name: "num_bigint",
56    cargo_env_compat: true,
57    cargo_pkg_version: "0.4.4",
58    crate_root: "src/lib.rs",
59    srcs: [":copy_num-bigint_build_out"],
60    test_suites: ["general-tests"],
61    auto_gen_config: true,
62    test_options: {
63        unit_test: true,
64    },
65    edition: "2018",
66    features: [
67        "default",
68        "std",
69    ],
70    cfgs: [
71        "has_try_from",
72        "u64_digit",
73    ],
74    rustlibs: [
75        "libnum_integer",
76        "libnum_traits",
77    ],
78}
79
80rust_test {
81    name: "num-bigint_test_tests_bigint",
82    host_supported: true,
83    crate_name: "bigint",
84    cargo_env_compat: true,
85    cargo_pkg_version: "0.4.4",
86    crate_root: "tests/bigint.rs",
87    srcs: [":copy_num-bigint_build_out"],
88    test_suites: ["general-tests"],
89    auto_gen_config: true,
90    test_options: {
91        unit_test: true,
92    },
93    edition: "2018",
94    features: [
95        "default",
96        "std",
97    ],
98    cfgs: [
99        "has_try_from",
100        "u64_digit",
101    ],
102    rustlibs: [
103        "libnum_bigint",
104        "libnum_integer",
105        "libnum_traits",
106    ],
107}
108
109rust_test {
110    name: "num-bigint_test_tests_bigint_bitwise",
111    host_supported: true,
112    crate_name: "bigint_bitwise",
113    cargo_env_compat: true,
114    cargo_pkg_version: "0.4.4",
115    crate_root: "tests/bigint_bitwise.rs",
116    srcs: [":copy_num-bigint_build_out"],
117    test_suites: ["general-tests"],
118    auto_gen_config: true,
119    test_options: {
120        unit_test: true,
121    },
122    edition: "2018",
123    features: [
124        "default",
125        "std",
126    ],
127    cfgs: [
128        "has_try_from",
129        "u64_digit",
130    ],
131    rustlibs: [
132        "libnum_bigint",
133        "libnum_integer",
134        "libnum_traits",
135    ],
136}
137
138rust_test {
139    name: "num-bigint_test_tests_bigint_scalar",
140    host_supported: true,
141    crate_name: "bigint_scalar",
142    cargo_env_compat: true,
143    cargo_pkg_version: "0.4.4",
144    crate_root: "tests/bigint_scalar.rs",
145    srcs: [":copy_num-bigint_build_out"],
146    test_suites: ["general-tests"],
147    auto_gen_config: true,
148    test_options: {
149        unit_test: true,
150    },
151    edition: "2018",
152    features: [
153        "default",
154        "std",
155    ],
156    cfgs: [
157        "has_try_from",
158        "u64_digit",
159    ],
160    rustlibs: [
161        "libnum_bigint",
162        "libnum_integer",
163        "libnum_traits",
164    ],
165}
166
167rust_test {
168    name: "num-bigint_test_tests_biguint",
169    host_supported: true,
170    crate_name: "biguint",
171    cargo_env_compat: true,
172    cargo_pkg_version: "0.4.4",
173    crate_root: "tests/biguint.rs",
174    srcs: [":copy_num-bigint_build_out"],
175    test_suites: ["general-tests"],
176    auto_gen_config: true,
177    test_options: {
178        unit_test: true,
179    },
180    edition: "2018",
181    features: [
182        "default",
183        "std",
184    ],
185    cfgs: [
186        "has_try_from",
187        "u64_digit",
188    ],
189    rustlibs: [
190        "libnum_bigint",
191        "libnum_integer",
192        "libnum_traits",
193    ],
194}
195
196rust_test {
197    name: "num-bigint_test_tests_biguint_scalar",
198    host_supported: true,
199    crate_name: "biguint_scalar",
200    cargo_env_compat: true,
201    cargo_pkg_version: "0.4.4",
202    crate_root: "tests/biguint_scalar.rs",
203    srcs: [":copy_num-bigint_build_out"],
204    test_suites: ["general-tests"],
205    auto_gen_config: true,
206    test_options: {
207        unit_test: true,
208    },
209    edition: "2018",
210    features: [
211        "default",
212        "std",
213    ],
214    cfgs: [
215        "has_try_from",
216        "u64_digit",
217    ],
218    rustlibs: [
219        "libnum_bigint",
220        "libnum_integer",
221        "libnum_traits",
222    ],
223}
224
225rust_test {
226    name: "num-bigint_test_tests_fuzzed",
227    host_supported: true,
228    crate_name: "fuzzed",
229    cargo_env_compat: true,
230    cargo_pkg_version: "0.4.4",
231    crate_root: "tests/fuzzed.rs",
232    srcs: [":copy_num-bigint_build_out"],
233    test_suites: ["general-tests"],
234    auto_gen_config: true,
235    test_options: {
236        unit_test: true,
237    },
238    edition: "2018",
239    features: [
240        "default",
241        "std",
242    ],
243    cfgs: [
244        "has_try_from",
245        "u64_digit",
246    ],
247    rustlibs: [
248        "libnum_bigint",
249        "libnum_integer",
250        "libnum_traits",
251    ],
252}
253
254rust_test {
255    name: "num-bigint_test_tests_modpow",
256    host_supported: true,
257    crate_name: "modpow",
258    cargo_env_compat: true,
259    cargo_pkg_version: "0.4.4",
260    crate_root: "tests/modpow.rs",
261    srcs: [":copy_num-bigint_build_out"],
262    test_suites: ["general-tests"],
263    auto_gen_config: true,
264    test_options: {
265        unit_test: true,
266    },
267    edition: "2018",
268    features: [
269        "default",
270        "std",
271    ],
272    cfgs: [
273        "has_try_from",
274        "u64_digit",
275    ],
276    rustlibs: [
277        "libnum_bigint",
278        "libnum_integer",
279        "libnum_traits",
280    ],
281}
282
283rust_test {
284    name: "num-bigint_test_tests_roots",
285    host_supported: true,
286    crate_name: "roots",
287    cargo_env_compat: true,
288    cargo_pkg_version: "0.4.4",
289    crate_root: "tests/roots.rs",
290    srcs: [":copy_num-bigint_build_out"],
291    test_suites: ["general-tests"],
292    auto_gen_config: true,
293    test_options: {
294        unit_test: true,
295    },
296    edition: "2018",
297    features: [
298        "default",
299        "std",
300    ],
301    cfgs: [
302        "has_try_from",
303        "u64_digit",
304    ],
305    rustlibs: [
306        "libnum_bigint",
307        "libnum_integer",
308        "libnum_traits",
309    ],
310}
311