• 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
4
5
6package {
7    default_applicable_licenses: ["external_rust_crates_argh_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_argh_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-BSD",
17    ],
18    license_text: [
19        "LICENSE",
20    ],
21}
22
23rust_test {
24    name: "argh_test_src_lib",
25    host_supported: true,
26    crate_name: "argh",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.1.7",
29    srcs: ["src/lib.rs"],
30    test_suites: ["general-tests"],
31    auto_gen_config: true,
32    test_options: {
33        unit_test: true,
34    },
35    edition: "2018",
36    rustlibs: [
37        "libargh_shared",
38    ],
39    proc_macros: ["libargh_derive"],
40}
41
42rust_test {
43    name: "argh_test_tests_lib",
44    host_supported: true,
45    crate_name: "lib",
46    cargo_env_compat: true,
47    cargo_pkg_version: "0.1.7",
48    srcs: ["tests/lib.rs"],
49    test_suites: ["general-tests"],
50    auto_gen_config: true,
51    test_options: {
52        unit_test: true,
53    },
54    edition: "2018",
55    rustlibs: [
56        "libargh",
57        "libargh_shared",
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.7",
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}
79