• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --config cargo2android.json.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_shared_child_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11    name: "external_rust_crates_shared_child_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-MIT",
15    ],
16    license_text: [
17        "LICENSE",
18    ],
19}
20
21rust_library {
22    name: "libshared_child",
23    host_supported: true,
24    crate_name: "shared_child",
25    cargo_env_compat: true,
26    cargo_pkg_version: "1.0.0",
27    srcs: ["src/lib.rs"],
28    edition: "2018",
29    rustlibs: [
30        "liblibc",
31    ],
32    apex_available: [
33        "//apex_available:platform",
34        "com.android.compos",
35        "com.android.virt",
36    ],
37}
38
39rust_test {
40    name: "shared_child_test_src_lib",
41    host_supported: true,
42    crate_name: "shared_child",
43    cargo_env_compat: true,
44    cargo_pkg_version: "1.0.0",
45    srcs: ["src/lib.rs"],
46    test_suites: ["general-tests"],
47    auto_gen_config: true,
48    test_options: {
49        unit_test: true,
50    },
51    edition: "2018",
52    rustlibs: [
53        "liblibc",
54    ],
55}
56