• 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_untrusted_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_untrusted_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-ISC",
17    ],
18    license_text: [
19        "LICENSE.txt",
20    ],
21}
22
23rust_library {
24    name: "libuntrusted",
25    host_supported: true,
26    crate_name: "untrusted",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.7.1",
29    crate_root: "src/untrusted.rs",
30    edition: "2018",
31    apex_available: [
32        "//apex_available:platform",
33        "com.android.compos",
34        "com.android.resolv",
35        "com.android.virt",
36    ],
37    product_available: true,
38    vendor_available: true,
39    min_sdk_version: "29",
40}
41
42rust_test {
43    name: "untrusted_test_tests_tests",
44    host_supported: true,
45    crate_name: "tests",
46    cargo_env_compat: true,
47    cargo_pkg_version: "0.7.1",
48    crate_root: "tests/tests.rs",
49    test_suites: ["general-tests"],
50    auto_gen_config: true,
51    test_options: {
52        unit_test: true,
53    },
54    edition: "2018",
55    rustlibs: ["libuntrusted"],
56}
57