xref: /aosp_15_r20/development/tools/external_crates/rooted_path/Android.bp (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
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_team: "trendy_team_android_rust",
8    default_applicable_licenses: ["Android-Apache-2.0"],
9}
10
11rust_library_host {
12    name: "librooted_path",
13    crate_name: "rooted_path",
14    cargo_env_compat: true,
15    cargo_pkg_version: "0.1.0",
16    crate_root: "src/lib.rs",
17    edition: "2021",
18    rustlibs: ["libthiserror"],
19}
20
21rust_test_host {
22    name: "rooted_path_test_src_lib",
23    crate_name: "rooted_path",
24    cargo_env_compat: true,
25    cargo_pkg_version: "0.1.0",
26    crate_root: "src/lib.rs",
27    test_suites: ["general-tests"],
28    auto_gen_config: true,
29    test_options: {
30        unit_test: true,
31    },
32    edition: "2021",
33    rustlibs: ["libthiserror"],
34}
35