xref: /aosp_15_r20/development/tools/cargo_embargo/testdata/either/expected_Android.bp (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5default_applicable_licenses: ["external_rust_crates_either_license"],
6default_team: "trendy_team_android_rust",
7}
8
9license {
10name: "external_rust_crates_either_license",
11visibility: [":__subpackages__"],
12license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13license_text: ["LICENSE"],
14}
15
16rust_test {
17name: "either_test_src_lib",
18host_supported: true,
19crate_name: "either",
20cargo_env_compat: true,
21cargo_pkg_version: "1.9.0",
22crate_root: "src/lib.rs",
23test_suites: ["general-tests"],
24auto_gen_config: true,
25test_options: {
26unit_test: true,
27},
28edition: "2018",
29features: ["default", "use_std"],
30rustlibs: ["libserde_json"],
31}
32
33rust_library {
34name: "libeither",
35host_supported: true,
36crate_name: "either",
37cargo_env_compat: true,
38cargo_pkg_version: "1.9.0",
39crate_root: "src/lib.rs",
40edition: "2018",
41features: ["default", "use_std"],
42apex_available: ["//apex_available:platform", "//apex_available:anyapex"],
43product_available: true,
44vendor_available: true,
45}
46
47