• 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_argh_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11    name: "external_rust_crates_argh_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-BSD",
15    ],
16    license_text: [
17        "LICENSE",
18    ],
19}
20
21rust_test {
22    name: "argh_test_src_lib",
23    host_supported: true,
24    crate_name: "argh",
25    cargo_env_compat: true,
26    cargo_pkg_version: "0.1.10",
27    srcs: ["src/lib.rs"],
28    test_suites: ["general-tests"],
29    auto_gen_config: true,
30    test_options: {
31        unit_test: true,
32    },
33    edition: "2018",
34    rustlibs: [
35        "libargh_shared",
36        "libonce_cell",
37    ],
38    proc_macros: ["libargh_derive"],
39}
40
41rust_test {
42    name: "argh_test_tests_lib",
43    host_supported: true,
44    crate_name: "argh",
45    cargo_env_compat: true,
46    cargo_pkg_version: "0.1.10",
47    srcs: ["tests/lib.rs"],
48    test_suites: ["general-tests"],
49    auto_gen_config: true,
50    test_options: {
51        unit_test: true,
52    },
53    edition: "2018",
54    rustlibs: [
55        "libargh",
56        "libargh_shared",
57        "libonce_cell",
58    ],
59    proc_macros: ["libargh_derive"],
60}
61
62rust_library {
63    name: "libargh",
64    host_supported: true,
65    crate_name: "argh",
66    cargo_env_compat: true,
67    cargo_pkg_version: "0.1.10",
68    srcs: ["src/lib.rs"],
69    edition: "2018",
70    rustlibs: [
71        "libargh_shared",
72    ],
73    proc_macros: ["libargh_derive"],
74    apex_available: [
75        "//apex_available:platform",
76        "com.android.virt",
77    ],
78    product_available: true,
79    vendor_available: true,
80}
81