1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_untrusted_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_untrusted_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-ISC"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libuntrusted",
18    host_supported: true,
19    crate_name: "untrusted",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.7.1",
22    crate_root: "src/untrusted.rs",
23    edition: "2018",
24    apex_available: [
25        "//apex_available:platform",
26        "com.android.compos",
27        "com.android.resolv",
28        "com.android.virt",
29    ],
30    product_available: true,
31    vendor_available: true,
32    min_sdk_version: "29",
33}
34
35rust_test {
36    name: "untrusted_test_tests_tests",
37    host_supported: true,
38    crate_name: "tests",
39    cargo_env_compat: true,
40    cargo_pkg_version: "0.7.1",
41    crate_root: "tests/tests.rs",
42    test_suites: ["general-tests"],
43    auto_gen_config: true,
44    test_options: {
45        unit_test: true,
46    },
47    edition: "2018",
48    rustlibs: ["libuntrusted"],
49}
50