• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_downcast-rs_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_downcast-rs_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_test {
17    name: "downcast-rs_test_src_lib",
18    host_supported: true,
19    crate_name: "downcast_rs",
20    cargo_env_compat: true,
21    cargo_pkg_version: "2.0.1",
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: "2021",
29    features: [
30        "default",
31        "std",
32        "sync",
33    ],
34}
35
36rust_test {
37    name: "downcast-rs_test_tests_import_via_macro_use",
38    host_supported: true,
39    crate_name: "import_via_macro_use",
40    cargo_env_compat: true,
41    cargo_pkg_version: "2.0.1",
42    crate_root: "tests/import_via_macro_use.rs",
43    test_suites: ["general-tests"],
44    auto_gen_config: true,
45    test_options: {
46        unit_test: true,
47    },
48    edition: "2021",
49    features: [
50        "default",
51        "std",
52        "sync",
53    ],
54    rustlibs: ["libdowncast_rs"],
55}
56
57rust_test {
58    name: "downcast-rs_test_tests_use_via_namespace",
59    host_supported: true,
60    crate_name: "use_via_namespace",
61    cargo_env_compat: true,
62    cargo_pkg_version: "2.0.1",
63    crate_root: "tests/use_via_namespace.rs",
64    test_suites: ["general-tests"],
65    auto_gen_config: true,
66    test_options: {
67        unit_test: true,
68    },
69    edition: "2021",
70    features: [
71        "default",
72        "std",
73        "sync",
74    ],
75    rustlibs: ["libdowncast_rs"],
76}
77
78rust_library {
79    name: "libdowncast_rs",
80    host_supported: true,
81    crate_name: "downcast_rs",
82    cargo_env_compat: true,
83    cargo_pkg_version: "2.0.1",
84    crate_root: "src/lib.rs",
85    edition: "2021",
86    features: [
87        "default",
88        "std",
89        "sync",
90    ],
91    apex_available: [
92        "//apex_available:platform",
93        "//apex_available:anyapex",
94    ],
95    product_available: true,
96    vendor_available: true,
97    min_sdk_version: "29",
98}
99
100dirgroup {
101    name: "trusty_dirgroup_external_rust_crates_downcast-rs",
102    visibility: ["//trusty/vendor/google/aosp/scripts"],
103    dirs: ["."],
104}
105