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_argh_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_argh_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-BSD-3-Clause"],
13    license_text: ["LICENSE"],
14}
15
16rust_test {
17    name: "argh_test_src_lib",
18    host_supported: true,
19    crate_name: "argh",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.1.12",
22    crate_root: "src/lib.rs",
23    test_suites: ["general-tests"],
24    auto_gen_config: true,
25    test_options: {
26        unit_test: true,
27    },
28    edition: "2018",
29    rustlibs: [
30        "libargh_shared",
31        "libonce_cell",
32    ],
33    proc_macros: ["libargh_derive"],
34}
35
36rust_test {
37    name: "argh_test_tests_args_info_tests",
38    host_supported: true,
39    crate_name: "args_info_tests",
40    cargo_env_compat: true,
41    cargo_pkg_version: "0.1.12",
42    crate_root: "tests/args_info_tests.rs",
43    test_suites: ["general-tests"],
44    auto_gen_config: true,
45    test_options: {
46        unit_test: true,
47    },
48    edition: "2018",
49    rustlibs: [
50        "libargh",
51        "libargh_shared",
52        "libonce_cell",
53    ],
54    proc_macros: ["libargh_derive"],
55}
56
57rust_test {
58    name: "argh_test_tests_lib",
59    host_supported: true,
60    crate_name: "lib",
61    cargo_env_compat: true,
62    cargo_pkg_version: "0.1.12",
63    crate_root: "tests/lib.rs",
64    test_suites: ["general-tests"],
65    auto_gen_config: true,
66    test_options: {
67        unit_test: true,
68    },
69    edition: "2018",
70    rustlibs: [
71        "libargh",
72        "libargh_shared",
73        "libonce_cell",
74    ],
75    proc_macros: ["libargh_derive"],
76}
77
78rust_library {
79    name: "libargh",
80    host_supported: true,
81    crate_name: "argh",
82    cargo_env_compat: true,
83    cargo_pkg_version: "0.1.12",
84    crate_root: "src/lib.rs",
85    edition: "2018",
86    rustlibs: ["libargh_shared"],
87    proc_macros: ["libargh_derive"],
88    apex_available: [
89        "//apex_available:platform",
90        "com.android.virt",
91    ],
92    product_available: true,
93    vendor_available: true,
94}
95