1// This file is generated by cargo2android.py --run --device --dependencies.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_criterion_license"],
6}
7
8// Added automatically by a large-scale-change that took the approach of
9// 'apply every license found to every target'. While this makes sure we respect
10// every license restriction, it may not be entirely correct.
11//
12// e.g. GPL in an MIT project might only apply to the contrib/ directory.
13//
14// Please consider splitting the single license below into multiple licenses,
15// taking care not to lose any license_kind information, and overriding the
16// default license using the 'licenses: [...]' property on targets as needed.
17//
18// For unused files, consider creating a 'fileGroup' with "//visibility:private"
19// to attach the license to, and including a comment whether the files may be
20// used in the current project.
21//
22// large-scale-change included anything that looked like it might be a license
23// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
24//
25// Please consider removing redundant or irrelevant files from 'license_text:'.
26// See: http://go/android-license-faq
27license {
28    name: "external_rust_crates_criterion_license",
29    visibility: [":__subpackages__"],
30    license_kinds: [
31        "SPDX-license-identifier-Apache-2.0",
32        "SPDX-license-identifier-MIT",
33    ],
34    license_text: [
35        "LICENSE-APACHE",
36        "LICENSE-MIT",
37    ],
38}
39
40rust_library {
41    name: "libcriterion",
42    host_supported: true,
43    crate_name: "criterion",
44    srcs: ["src/lib.rs"],
45    edition: "2018",
46    features: [
47        "cargo_bench_support",
48        "default",
49    ],
50    rustlibs: [
51        "libatty",
52        "libcast",
53        "libclap",
54        "libcriterion_plot",
55        "libcsv",
56        "libitertools",
57        "liblazy_static",
58        "libnum_traits",
59        "liboorandom",
60        "libplotters",
61        "librayon",
62        "libregex",
63        "libserde",
64        "libserde_cbor",
65        "libserde_json",
66        "libtinytemplate",
67        "libwalkdir",
68    ],
69    proc_macros: ["libserde_derive"],
70}
71
72// dependent_library ["feature_list"]
73//   atty-0.2.14
74//   autocfg-1.0.1
75//   bitflags-1.2.1 "default"
76//   bstr-0.2.15 "default,lazy_static,regex-automata,serde,serde1,serde1-nostd,std,unicode"
77//   byteorder-1.4.3
78//   cast-0.2.3 "default,std"
79//   cfg-if-1.0.0
80//   clap-2.33.3
81//   criterion-plot-0.4.3
82//   crossbeam-channel-0.5.0 "crossbeam-utils,default,std"
83//   crossbeam-deque-0.8.0 "crossbeam-epoch,crossbeam-utils,default,std"
84//   crossbeam-epoch-0.9.3 "alloc,lazy_static,std"
85//   crossbeam-utils-0.8.3 "default,lazy_static,std"
86//   csv-1.1.6
87//   csv-core-0.1.10 "default"
88//   either-1.6.1
89//   half-1.7.1
90//   itertools-0.10.0 "default,use_alloc,use_std"
91//   itertools-0.9.0 "default,use_std"
92//   itoa-0.4.7 "default,std"
93//   lazy_static-1.4.0
94//   libc-0.2.92 "default,std"
95//   memchr-2.3.4 "default,std,use_std"
96//   memoffset-0.6.3 "default"
97//   num-traits-0.2.14 "default,std"
98//   num_cpus-1.13.0
99//   oorandom-11.1.3
100//   plotters-0.3.0 "area_series,line_series,plotters-svg,svg_backend"
101//   plotters-backend-0.3.0
102//   plotters-svg-0.3.0
103//   proc-macro2-1.0.26 "default,proc-macro"
104//   quote-1.0.9 "default,proc-macro"
105//   rayon-1.5.0
106//   rayon-core-1.9.0
107//   regex-1.4.5 "std"
108//   regex-automata-0.1.9
109//   regex-syntax-0.6.23
110//   rustc_version-0.2.3
111//   ryu-1.0.5
112//   same-file-1.0.6
113//   scopeguard-1.1.0
114//   semver-0.9.0 "default"
115//   semver-parser-0.7.0
116//   serde-1.0.125 "default,std"
117//   serde_cbor-0.11.1 "default,std"
118//   serde_derive-1.0.125 "default"
119//   serde_json-1.0.64 "default,std"
120//   syn-1.0.68 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit"
121//   textwrap-0.11.0
122//   tinytemplate-1.2.1
123//   unicode-width-0.1.8 "default"
124//   unicode-xid-0.2.1 "default"
125//   walkdir-2.3.2
126