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_pin-utils_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_pin-utils_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libpin_utils",
18    host_supported: true,
19    crate_name: "pin_utils",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.1.0",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    apex_available: [
25        "//apex_available:platform",
26        "//apex_available:anyapex",
27    ],
28    product_available: true,
29    vendor_available: true,
30    min_sdk_version: "29",
31}
32
33rust_test {
34    name: "pin-utils_test_tests_projection",
35    host_supported: true,
36    crate_name: "projection",
37    cargo_env_compat: true,
38    cargo_pkg_version: "0.1.0",
39    crate_root: "tests/projection.rs",
40    test_suites: ["general-tests"],
41    auto_gen_config: true,
42    test_options: {
43        unit_test: true,
44    },
45    edition: "2018",
46    rustlibs: ["libpin_utils"],
47}
48
49rust_test {
50    name: "pin-utils_test_tests_stack_pin",
51    host_supported: true,
52    crate_name: "stack_pin",
53    cargo_env_compat: true,
54    cargo_pkg_version: "0.1.0",
55    crate_root: "tests/stack_pin.rs",
56    test_suites: ["general-tests"],
57    auto_gen_config: true,
58    test_options: {
59        unit_test: true,
60    },
61    edition: "2018",
62    rustlibs: ["libpin_utils"],
63}
64