• 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_oneshot_uniffi_license"],
8}
9
10// See: http://go/android-license-faq
11license {
12    name: "external_rust_crates_oneshot_uniffi_license",
13    visibility: [":__subpackages__"],
14    license_kinds: [
15        "SPDX-license-identifier-Apache-2.0",
16        "SPDX-license-identifier-MIT",
17    ],
18    license_text: [
19        "LICENSE-APACHE",
20        "LICENSE-MIT",
21    ],
22}
23
24rust_library {
25    name: "liboneshot_uniffi",
26    host_supported: true,
27    crate_name: "oneshot",
28    cargo_env_compat: true,
29    cargo_pkg_version: "0.1.6",
30    crate_root: "src/lib.rs",
31    edition: "2021",
32    features: [
33        "async",
34        "default",
35        "std",
36    ],
37    apex_available: [
38        "//apex_available:platform",
39        "//apex_available:anyapex",
40    ],
41    product_available: true,
42    vendor_available: true,
43    visibility: ["//external/rust/crates/uniffi_core"],
44}
45
46rust_test {
47    name: "oneshot-uniffi_test_src_lib",
48    host_supported: true,
49    crate_name: "oneshot_uniffi",
50    cargo_env_compat: true,
51    cargo_pkg_version: "0.1.6",
52    crate_root: "src/lib.rs",
53    test_suites: ["general-tests"],
54    auto_gen_config: true,
55    test_options: {
56        unit_test: true,
57    },
58    edition: "2021",
59    features: [
60        "async",
61        "default",
62        "std",
63    ],
64    rustlibs: [
65        "libcriterion",
66        "libtokio",
67    ],
68}
69
70rust_test {
71    name: "oneshot-uniffi_test_tests_assert_mem",
72    host_supported: true,
73    crate_name: "assert_mem",
74    cargo_env_compat: true,
75    cargo_pkg_version: "0.1.6",
76    crate_root: "tests/assert_mem.rs",
77    test_suites: ["general-tests"],
78    auto_gen_config: true,
79    test_options: {
80        unit_test: true,
81    },
82    edition: "2021",
83    features: [
84        "async",
85        "default",
86        "std",
87    ],
88    rustlibs: [
89        "libcriterion",
90        "liboneshot_uniffi",
91        "libtokio",
92    ],
93}
94
95rust_test {
96    name: "oneshot-uniffi_test_tests_async",
97    host_supported: true,
98    crate_name: "async",
99    cargo_env_compat: true,
100    cargo_pkg_version: "0.1.6",
101    crate_root: "tests/async.rs",
102    test_suites: ["general-tests"],
103    auto_gen_config: true,
104    test_options: {
105        unit_test: true,
106    },
107    edition: "2021",
108    features: [
109        "async",
110        "default",
111        "std",
112    ],
113    rustlibs: [
114        "libcriterion",
115        "liboneshot_uniffi",
116        "libtokio",
117    ],
118}
119
120rust_test {
121    name: "oneshot-uniffi_test_tests_future",
122    host_supported: true,
123    crate_name: "future",
124    cargo_env_compat: true,
125    cargo_pkg_version: "0.1.6",
126    crate_root: "tests/future.rs",
127    test_suites: ["general-tests"],
128    auto_gen_config: true,
129    test_options: {
130        unit_test: true,
131    },
132    edition: "2021",
133    features: [
134        "async",
135        "default",
136        "std",
137    ],
138    rustlibs: [
139        "libcriterion",
140        "liboneshot_uniffi",
141        "libtokio",
142    ],
143}
144
145rust_test {
146    name: "oneshot-uniffi_test_tests_loom",
147    host_supported: true,
148    crate_name: "loom",
149    cargo_env_compat: true,
150    cargo_pkg_version: "0.1.6",
151    crate_root: "tests/loom.rs",
152    test_suites: ["general-tests"],
153    auto_gen_config: true,
154    test_options: {
155        unit_test: true,
156    },
157    edition: "2021",
158    features: [
159        "async",
160        "default",
161        "std",
162    ],
163    rustlibs: [
164        "libcriterion",
165        "liboneshot_uniffi",
166        "libtokio",
167    ],
168}
169
170rust_test {
171    name: "oneshot-uniffi_test_tests_raw",
172    host_supported: true,
173    crate_name: "raw",
174    cargo_env_compat: true,
175    cargo_pkg_version: "0.1.6",
176    crate_root: "tests/raw.rs",
177    test_suites: ["general-tests"],
178    auto_gen_config: true,
179    test_options: {
180        unit_test: true,
181    },
182    edition: "2021",
183    features: [
184        "async",
185        "default",
186        "std",
187    ],
188    rustlibs: [
189        "libcriterion",
190        "liboneshot_uniffi",
191        "libtokio",
192    ],
193}
194
195rust_test {
196    name: "oneshot-uniffi_test_tests_sync",
197    host_supported: true,
198    crate_name: "sync",
199    cargo_env_compat: true,
200    cargo_pkg_version: "0.1.6",
201    crate_root: "tests/sync.rs",
202    test_suites: ["general-tests"],
203    auto_gen_config: true,
204    test_options: {
205        unit_test: true,
206    },
207    edition: "2021",
208    features: [
209        "async",
210        "default",
211        "std",
212    ],
213    rustlibs: [
214        "libcriterion",
215        "liboneshot_uniffi",
216        "libtokio",
217    ],
218}
219