blob: d074f9c36a5df10c0976a92e4b8844fda8d42beb [file] [log] [blame]
Jeff Vander Stoepeffa6142020-12-23 12:55:43 +01001// This file is generated by cargo2android.py --run --device --dependencies --tests --patch=patches/Android.bp.patch.
Jeff Vander Stoep57a43af2020-12-21 09:55:17 +01002
Bob Badour4ec640e2021-02-26 03:45:07 -08003package {
4 default_applicable_licenses: [
5 "external_rust_crates_form_urlencoded_license",
6 ],
7}
8
9// Added automatically by a large-scale-change that took the approach of
10// 'apply every license found to every target'. While this makes sure we respect
11// every license restriction, it may not be entirely correct.
12//
13// e.g. GPL in an MIT project might only apply to the contrib/ directory.
14//
15// Please consider splitting the single license below into multiple licenses,
16// taking care not to lose any license_kind information, and overriding the
17// default license using the 'licenses: [...]' property on targets as needed.
18//
19// For unused files, consider creating a 'fileGroup' with "//visibility:private"
20// to attach the license to, and including a comment whether the files may be
21// used in the current project.
22//
23// large-scale-change included anything that looked like it might be a license
24// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
25//
26// Please consider removing redundant or irrelevant files from 'license_text:'.
27// See: http://go/android-license-faq
28license {
29 name: "external_rust_crates_form_urlencoded_license",
30 visibility: [":__subpackages__"],
31 license_kinds: [
32 "SPDX-license-identifier-Apache-2.0",
33 "SPDX-license-identifier-MIT",
34 ],
35 license_text: [
36 "LICENSE",
37 "LICENSE-APACHE",
38 "LICENSE-MIT",
39 ],
40}
41
Jeff Vander Stoep57a43af2020-12-21 09:55:17 +010042rust_library {
43 name: "libform_urlencoded",
44 host_supported: true,
45 crate_name: "form_urlencoded",
46 srcs: ["src/lib.rs"],
Jeff Vander Stoep6113c182021-02-19 11:25:20 +010047 edition: "2018",
Jeff Vander Stoep57a43af2020-12-21 09:55:17 +010048 rustlibs: [
49 "libmatches",
50 "libpercent_encoding",
51 ],
Jeff Vander Stoepeffa6142020-12-23 12:55:43 +010052 apex_available: [
53 "//apex_available:platform",
54 "com.android.resolv",
55 ],
56 min_sdk_version: "29",
Jeff Vander Stoep57a43af2020-12-21 09:55:17 +010057}
58
59// dependent_library ["feature_list"]
60// matches-0.1.8
61// percent-encoding-2.1.0