aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 5338905ed09f86160505bbc9487adddda7179c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// This file is generated by cargo2android.py --run --device --dependencies.
// Do not modify this file as changes will be overridden on upgrade.

package {
    default_applicable_licenses: ["external_rust_crates_criterion_license"],
}

// Added automatically by a large-scale-change that took the approach of
// 'apply every license found to every target'. While this makes sure we respect
// every license restriction, it may not be entirely correct.
//
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
//
// Please consider splitting the single license below into multiple licenses,
// taking care not to lose any license_kind information, and overriding the
// default license using the 'licenses: [...]' property on targets as needed.
//
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
// to attach the license to, and including a comment whether the files may be
// used in the current project.
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// See: http://go/android-license-faq
license {
    name: "external_rust_crates_criterion_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
        "SPDX-license-identifier-MIT",
    ],
    license_text: [
        "LICENSE-APACHE",
        "LICENSE-MIT",
    ],
}

rust_library {
    name: "libcriterion",
    host_supported: true,
    crate_name: "criterion",
    srcs: ["src/lib.rs"],
    edition: "2018",
    features: [
        "cargo_bench_support",
        "default",
    ],
    rustlibs: [
        "libatty",
        "libcast",
        "libclap",
        "libcriterion_plot",
        "libcsv",
        "libitertools",
        "liblazy_static",
        "libnum_traits",
        "liboorandom",
        "libplotters",
        "librayon",
        "libregex",
        "libserde",
        "libserde_cbor",
        "libserde_json",
        "libtinytemplate",
        "libwalkdir",
    ],
    proc_macros: ["libserde_derive"],
}

// dependent_library ["feature_list"]
//   atty-0.2.14
//   autocfg-1.0.1
//   bitflags-1.2.1 "default"
//   bstr-0.2.15 "default,lazy_static,regex-automata,serde,serde1,serde1-nostd,std,unicode"
//   byteorder-1.4.3
//   cast-0.2.3 "default,std"
//   cfg-if-1.0.0
//   clap-2.33.3
//   criterion-plot-0.4.3
//   crossbeam-channel-0.5.0 "crossbeam-utils,default,std"
//   crossbeam-deque-0.8.0 "crossbeam-epoch,crossbeam-utils,default,std"
//   crossbeam-epoch-0.9.3 "alloc,lazy_static,std"
//   crossbeam-utils-0.8.3 "default,lazy_static,std"
//   csv-1.1.6
//   csv-core-0.1.10 "default"
//   either-1.6.1
//   half-1.7.1
//   itertools-0.10.0 "default,use_alloc,use_std"
//   itertools-0.9.0 "default,use_std"
//   itoa-0.4.7 "default,std"
//   lazy_static-1.4.0
//   libc-0.2.92 "default,std"
//   memchr-2.3.4 "default,std,use_std"
//   memoffset-0.6.3 "default"
//   num-traits-0.2.14 "default,std"
//   num_cpus-1.13.0
//   oorandom-11.1.3
//   plotters-0.3.0 "area_series,line_series,plotters-svg,svg_backend"
//   plotters-backend-0.3.0
//   plotters-svg-0.3.0
//   proc-macro2-1.0.26 "default,proc-macro"
//   quote-1.0.9 "default,proc-macro"
//   rayon-1.5.0
//   rayon-core-1.9.0
//   regex-1.4.5 "std"
//   regex-automata-0.1.9
//   regex-syntax-0.6.23
//   rustc_version-0.2.3
//   ryu-1.0.5
//   same-file-1.0.6
//   scopeguard-1.1.0
//   semver-0.9.0 "default"
//   semver-parser-0.7.0
//   serde-1.0.125 "default,std"
//   serde_cbor-0.11.1 "default,std"
//   serde_derive-1.0.125 "default"
//   serde_json-1.0.64 "default,std"
//   syn-1.0.68 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit"
//   textwrap-0.11.0
//   tinytemplate-1.2.1
//   unicode-width-0.1.8 "default"
//   unicode-xid-0.2.1 "default"
//   walkdir-2.3.2