• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    default_applicable_licenses: ["external_rust_crates_regex_license"],
8}
9
10// Added automatically by a large-scale-change that took the approach of
11// 'apply every license found to every target'. While this makes sure we respect
12// every license restriction, it may not be entirely correct.
13//
14// e.g. GPL in an MIT project might only apply to the contrib/ directory.
15//
16// Please consider splitting the single license below into multiple licenses,
17// taking care not to lose any license_kind information, and overriding the
18// default license using the 'licenses: [...]' property on targets as needed.
19//
20// For unused files, consider creating a 'fileGroup' with "//visibility:private"
21// to attach the license to, and including a comment whether the files may be
22// used in the current project.
23//
24// large-scale-change included anything that looked like it might be a license
25// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
26//
27// Please consider removing redundant or irrelevant files from 'license_text:'.
28// See: http://go/android-license-faq
29license {
30    name: "external_rust_crates_regex_license",
31    visibility: [":__subpackages__"],
32    license_kinds: [
33        "SPDX-license-identifier-Apache-2.0",
34        "SPDX-license-identifier-MIT",
35        "SPDX-license-identifier-Unicode-DFS",
36    ],
37    license_text: [
38        "LICENSE-APACHE",
39        "LICENSE-MIT",
40    ],
41}
42
43rust_library {
44    name: "libregex",
45    host_supported: true,
46    crate_name: "regex",
47    cargo_env_compat: true,
48    cargo_pkg_version: "1.7.3",
49    crate_root: "src/lib.rs",
50    edition: "2018",
51    features: [
52        "aho-corasick",
53        "default",
54        "memchr",
55        "perf",
56        "perf-cache",
57        "perf-dfa",
58        "perf-inline",
59        "perf-literal",
60        "std",
61        "unicode",
62        "unicode-age",
63        "unicode-bool",
64        "unicode-case",
65        "unicode-gencat",
66        "unicode-perl",
67        "unicode-script",
68        "unicode-segment",
69    ],
70    rustlibs: [
71        "libaho_corasick",
72        "libmemchr",
73        "libregex_syntax",
74    ],
75    apex_available: [
76        "//apex_available:anyapex",
77        "//apex_available:platform",
78    ],
79    product_available: true,
80    vendor_available: true,
81}
82
83rust_test {
84    name: "regex_test_src_lib",
85    host_supported: true,
86    crate_name: "regex",
87    cargo_env_compat: true,
88    cargo_pkg_version: "1.7.3",
89    crate_root: "src/lib.rs",
90    test_suites: ["general-tests"],
91    auto_gen_config: true,
92    test_options: {
93        unit_test: true,
94    },
95    edition: "2018",
96    features: [
97        "aho-corasick",
98        "default",
99        "memchr",
100        "perf",
101        "perf-cache",
102        "perf-dfa",
103        "perf-inline",
104        "perf-literal",
105        "std",
106        "unicode",
107        "unicode-age",
108        "unicode-bool",
109        "unicode-case",
110        "unicode-gencat",
111        "unicode-perl",
112        "unicode-script",
113        "unicode-segment",
114    ],
115    rustlibs: [
116        "libaho_corasick",
117        "liblazy_static",
118        "libmemchr",
119        "libquickcheck",
120        "librand",
121        "libregex_syntax",
122    ],
123}
124
125rust_test {
126    name: "regex_test_tests_test_backtrack",
127    host_supported: true,
128    crate_name: "backtrack",
129    cargo_env_compat: true,
130    cargo_pkg_version: "1.7.3",
131    crate_root: "tests/test_backtrack.rs",
132    test_suites: ["general-tests"],
133    auto_gen_config: true,
134    test_options: {
135        unit_test: true,
136    },
137    edition: "2018",
138    features: [
139        "aho-corasick",
140        "default",
141        "memchr",
142        "perf",
143        "perf-cache",
144        "perf-dfa",
145        "perf-inline",
146        "perf-literal",
147        "std",
148        "unicode",
149        "unicode-age",
150        "unicode-bool",
151        "unicode-case",
152        "unicode-gencat",
153        "unicode-perl",
154        "unicode-script",
155        "unicode-segment",
156    ],
157    rustlibs: [
158        "libaho_corasick",
159        "liblazy_static",
160        "libmemchr",
161        "libquickcheck",
162        "librand",
163        "libregex",
164        "libregex_syntax",
165    ],
166}
167
168rust_test {
169    name: "regex_test_tests_test_backtrack_bytes",
170    host_supported: true,
171    crate_name: "backtrack_bytes",
172    cargo_env_compat: true,
173    cargo_pkg_version: "1.7.3",
174    crate_root: "tests/test_backtrack_bytes.rs",
175    test_suites: ["general-tests"],
176    auto_gen_config: true,
177    test_options: {
178        unit_test: true,
179    },
180    edition: "2018",
181    features: [
182        "aho-corasick",
183        "default",
184        "memchr",
185        "perf",
186        "perf-cache",
187        "perf-dfa",
188        "perf-inline",
189        "perf-literal",
190        "std",
191        "unicode",
192        "unicode-age",
193        "unicode-bool",
194        "unicode-case",
195        "unicode-gencat",
196        "unicode-perl",
197        "unicode-script",
198        "unicode-segment",
199    ],
200    rustlibs: [
201        "libaho_corasick",
202        "liblazy_static",
203        "libmemchr",
204        "libquickcheck",
205        "librand",
206        "libregex",
207        "libregex_syntax",
208    ],
209}
210
211rust_test {
212    name: "regex_test_tests_test_backtrack_utf8bytes",
213    host_supported: true,
214    crate_name: "backtrack_utf8bytes",
215    cargo_env_compat: true,
216    cargo_pkg_version: "1.7.3",
217    crate_root: "tests/test_backtrack_utf8bytes.rs",
218    test_suites: ["general-tests"],
219    auto_gen_config: true,
220    test_options: {
221        unit_test: true,
222    },
223    edition: "2018",
224    features: [
225        "aho-corasick",
226        "default",
227        "memchr",
228        "perf",
229        "perf-cache",
230        "perf-dfa",
231        "perf-inline",
232        "perf-literal",
233        "std",
234        "unicode",
235        "unicode-age",
236        "unicode-bool",
237        "unicode-case",
238        "unicode-gencat",
239        "unicode-perl",
240        "unicode-script",
241        "unicode-segment",
242    ],
243    rustlibs: [
244        "libaho_corasick",
245        "liblazy_static",
246        "libmemchr",
247        "libquickcheck",
248        "librand",
249        "libregex",
250        "libregex_syntax",
251    ],
252}
253
254rust_test {
255    name: "regex_test_tests_test_crates_regex",
256    host_supported: true,
257    crate_name: "crates_regex",
258    cargo_env_compat: true,
259    cargo_pkg_version: "1.7.3",
260    crate_root: "tests/test_crates_regex.rs",
261    test_suites: ["general-tests"],
262    auto_gen_config: true,
263    test_options: {
264        unit_test: true,
265    },
266    edition: "2018",
267    features: [
268        "aho-corasick",
269        "default",
270        "memchr",
271        "perf",
272        "perf-cache",
273        "perf-dfa",
274        "perf-inline",
275        "perf-literal",
276        "std",
277        "unicode",
278        "unicode-age",
279        "unicode-bool",
280        "unicode-case",
281        "unicode-gencat",
282        "unicode-perl",
283        "unicode-script",
284        "unicode-segment",
285    ],
286    rustlibs: [
287        "libaho_corasick",
288        "liblazy_static",
289        "libmemchr",
290        "libquickcheck",
291        "librand",
292        "libregex",
293        "libregex_syntax",
294    ],
295}
296
297rust_test {
298    name: "regex_test_tests_test_default",
299    host_supported: true,
300    crate_name: "default",
301    cargo_env_compat: true,
302    cargo_pkg_version: "1.7.3",
303    crate_root: "tests/test_default.rs",
304    test_suites: ["general-tests"],
305    auto_gen_config: true,
306    test_options: {
307        unit_test: true,
308    },
309    edition: "2018",
310    features: [
311        "aho-corasick",
312        "default",
313        "memchr",
314        "perf",
315        "perf-cache",
316        "perf-dfa",
317        "perf-inline",
318        "perf-literal",
319        "std",
320        "unicode",
321        "unicode-age",
322        "unicode-bool",
323        "unicode-case",
324        "unicode-gencat",
325        "unicode-perl",
326        "unicode-script",
327        "unicode-segment",
328    ],
329    rustlibs: [
330        "libaho_corasick",
331        "liblazy_static",
332        "libmemchr",
333        "libquickcheck",
334        "librand",
335        "libregex",
336        "libregex_syntax",
337    ],
338}
339
340rust_test {
341    name: "regex_test_tests_test_default_bytes",
342    host_supported: true,
343    crate_name: "default_bytes",
344    cargo_env_compat: true,
345    cargo_pkg_version: "1.7.3",
346    crate_root: "tests/test_default_bytes.rs",
347    test_suites: ["general-tests"],
348    auto_gen_config: true,
349    test_options: {
350        unit_test: true,
351    },
352    edition: "2018",
353    features: [
354        "aho-corasick",
355        "default",
356        "memchr",
357        "perf",
358        "perf-cache",
359        "perf-dfa",
360        "perf-inline",
361        "perf-literal",
362        "std",
363        "unicode",
364        "unicode-age",
365        "unicode-bool",
366        "unicode-case",
367        "unicode-gencat",
368        "unicode-perl",
369        "unicode-script",
370        "unicode-segment",
371    ],
372    rustlibs: [
373        "libaho_corasick",
374        "liblazy_static",
375        "libmemchr",
376        "libquickcheck",
377        "librand",
378        "libregex",
379        "libregex_syntax",
380    ],
381}
382
383rust_test {
384    name: "regex_test_tests_test_nfa",
385    host_supported: true,
386    crate_name: "nfa",
387    cargo_env_compat: true,
388    cargo_pkg_version: "1.7.3",
389    crate_root: "tests/test_nfa.rs",
390    test_suites: ["general-tests"],
391    auto_gen_config: true,
392    test_options: {
393        unit_test: true,
394    },
395    edition: "2018",
396    features: [
397        "aho-corasick",
398        "default",
399        "memchr",
400        "perf",
401        "perf-cache",
402        "perf-dfa",
403        "perf-inline",
404        "perf-literal",
405        "std",
406        "unicode",
407        "unicode-age",
408        "unicode-bool",
409        "unicode-case",
410        "unicode-gencat",
411        "unicode-perl",
412        "unicode-script",
413        "unicode-segment",
414    ],
415    rustlibs: [
416        "libaho_corasick",
417        "liblazy_static",
418        "libmemchr",
419        "libquickcheck",
420        "librand",
421        "libregex",
422        "libregex_syntax",
423    ],
424}
425
426rust_test {
427    name: "regex_test_tests_test_nfa_bytes",
428    host_supported: true,
429    crate_name: "nfa_bytes",
430    cargo_env_compat: true,
431    cargo_pkg_version: "1.7.3",
432    crate_root: "tests/test_nfa_bytes.rs",
433    test_suites: ["general-tests"],
434    auto_gen_config: true,
435    test_options: {
436        unit_test: true,
437    },
438    edition: "2018",
439    features: [
440        "aho-corasick",
441        "default",
442        "memchr",
443        "perf",
444        "perf-cache",
445        "perf-dfa",
446        "perf-inline",
447        "perf-literal",
448        "std",
449        "unicode",
450        "unicode-age",
451        "unicode-bool",
452        "unicode-case",
453        "unicode-gencat",
454        "unicode-perl",
455        "unicode-script",
456        "unicode-segment",
457    ],
458    rustlibs: [
459        "libaho_corasick",
460        "liblazy_static",
461        "libmemchr",
462        "libquickcheck",
463        "librand",
464        "libregex",
465        "libregex_syntax",
466    ],
467}
468
469rust_test {
470    name: "regex_test_tests_test_nfa_utf8bytes",
471    host_supported: true,
472    crate_name: "nfa_utf8bytes",
473    cargo_env_compat: true,
474    cargo_pkg_version: "1.7.3",
475    crate_root: "tests/test_nfa_utf8bytes.rs",
476    test_suites: ["general-tests"],
477    auto_gen_config: true,
478    test_options: {
479        unit_test: true,
480    },
481    edition: "2018",
482    features: [
483        "aho-corasick",
484        "default",
485        "memchr",
486        "perf",
487        "perf-cache",
488        "perf-dfa",
489        "perf-inline",
490        "perf-literal",
491        "std",
492        "unicode",
493        "unicode-age",
494        "unicode-bool",
495        "unicode-case",
496        "unicode-gencat",
497        "unicode-perl",
498        "unicode-script",
499        "unicode-segment",
500    ],
501    rustlibs: [
502        "libaho_corasick",
503        "liblazy_static",
504        "libmemchr",
505        "libquickcheck",
506        "librand",
507        "libregex",
508        "libregex_syntax",
509    ],
510}
511