• 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_serde_cbor_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_serde_cbor_license",
31    visibility: [":__subpackages__"],
32    license_kinds: [
33        "SPDX-license-identifier-Apache-2.0",
34        "SPDX-license-identifier-MIT",
35    ],
36    license_text: [
37        "LICENSE-APACHE",
38        "LICENSE-MIT",
39    ],
40}
41
42rust_library {
43    name: "libserde_cbor",
44    host_supported: true,
45    crate_name: "serde_cbor",
46    cargo_env_compat: true,
47    cargo_pkg_version: "0.11.2",
48    crate_root: "src/lib.rs",
49    edition: "2018",
50    features: [
51        "default",
52        "std",
53        "tags",
54    ],
55    rustlibs: [
56        "libhalf",
57        "libserde",
58    ],
59    apex_available: [
60        "//apex_available:platform",
61        "//apex_available:anyapex",
62    ],
63    product_available: true,
64    vendor_available: true,
65}
66
67rust_test {
68    name: "serde_cbor_test_tests_bennofs",
69    host_supported: true,
70    crate_name: "bennofs",
71    cargo_env_compat: true,
72    cargo_pkg_version: "0.11.2",
73    crate_root: "tests/bennofs.rs",
74    test_suites: ["general-tests"],
75    auto_gen_config: true,
76    test_options: {
77        unit_test: true,
78    },
79    edition: "2018",
80    features: [
81        "default",
82        "std",
83        "tags",
84    ],
85    rustlibs: [
86        "libhalf",
87        "libserde",
88        "libserde_cbor",
89    ],
90    proc_macros: ["libserde_derive"],
91}
92
93rust_test {
94    name: "serde_cbor_test_tests_canonical",
95    host_supported: true,
96    crate_name: "canonical",
97    cargo_env_compat: true,
98    cargo_pkg_version: "0.11.2",
99    crate_root: "tests/canonical.rs",
100    test_suites: ["general-tests"],
101    auto_gen_config: true,
102    test_options: {
103        unit_test: true,
104    },
105    edition: "2018",
106    features: [
107        "default",
108        "std",
109        "tags",
110    ],
111    rustlibs: [
112        "libhalf",
113        "libserde",
114        "libserde_cbor",
115    ],
116    proc_macros: ["libserde_derive"],
117}
118
119rust_test {
120    name: "serde_cbor_test_tests_de",
121    host_supported: true,
122    crate_name: "de",
123    cargo_env_compat: true,
124    cargo_pkg_version: "0.11.2",
125    crate_root: "tests/de.rs",
126    test_suites: ["general-tests"],
127    auto_gen_config: true,
128    test_options: {
129        unit_test: true,
130    },
131    edition: "2018",
132    features: [
133        "default",
134        "std",
135        "tags",
136    ],
137    rustlibs: [
138        "libhalf",
139        "libserde",
140        "libserde_cbor",
141    ],
142    proc_macros: ["libserde_derive"],
143}
144
145rust_test {
146    name: "serde_cbor_test_tests_enum",
147    host_supported: true,
148    crate_name: "enum",
149    cargo_env_compat: true,
150    cargo_pkg_version: "0.11.2",
151    crate_root: "tests/enum.rs",
152    test_suites: ["general-tests"],
153    auto_gen_config: true,
154    test_options: {
155        unit_test: true,
156    },
157    edition: "2018",
158    features: [
159        "default",
160        "std",
161        "tags",
162    ],
163    rustlibs: [
164        "libhalf",
165        "libserde",
166        "libserde_cbor",
167    ],
168    proc_macros: ["libserde_derive"],
169}
170
171rust_test {
172    name: "serde_cbor_test_tests_ser",
173    host_supported: true,
174    crate_name: "ser",
175    cargo_env_compat: true,
176    cargo_pkg_version: "0.11.2",
177    crate_root: "tests/ser.rs",
178    test_suites: ["general-tests"],
179    auto_gen_config: true,
180    test_options: {
181        unit_test: true,
182    },
183    edition: "2018",
184    features: [
185        "default",
186        "std",
187        "tags",
188    ],
189    rustlibs: [
190        "libhalf",
191        "libserde",
192        "libserde_cbor",
193    ],
194    proc_macros: ["libserde_derive"],
195}
196
197rust_test {
198    name: "serde_cbor_test_tests_std_types",
199    host_supported: true,
200    crate_name: "std_types",
201    cargo_env_compat: true,
202    cargo_pkg_version: "0.11.2",
203    crate_root: "tests/std_types.rs",
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        "tags",
214    ],
215    rustlibs: [
216        "libhalf",
217        "libserde",
218        "libserde_cbor",
219    ],
220    proc_macros: ["libserde_derive"],
221}
222
223rust_test {
224    name: "serde_cbor_test_tests_tags",
225    host_supported: true,
226    crate_name: "tags",
227    cargo_env_compat: true,
228    cargo_pkg_version: "0.11.2",
229    crate_root: "tests/tags.rs",
230    test_suites: ["general-tests"],
231    auto_gen_config: true,
232    test_options: {
233        unit_test: true,
234    },
235    edition: "2018",
236    features: [
237        "default",
238        "std",
239        "tags",
240    ],
241    rustlibs: [
242        "libhalf",
243        "libserde",
244        "libserde_cbor",
245    ],
246    proc_macros: ["libserde_derive"],
247}
248
249rust_test {
250    name: "serde_cbor_test_tests_value",
251    host_supported: true,
252    crate_name: "value",
253    cargo_env_compat: true,
254    cargo_pkg_version: "0.11.2",
255    crate_root: "tests/value.rs",
256    test_suites: ["general-tests"],
257    auto_gen_config: true,
258    test_options: {
259        unit_test: true,
260    },
261    edition: "2018",
262    features: [
263        "default",
264        "std",
265        "tags",
266    ],
267    rustlibs: [
268        "libhalf",
269        "libserde",
270        "libserde_cbor",
271    ],
272    proc_macros: ["libserde_derive"],
273}
274