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_tinyvec_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_tinyvec_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libtinyvec",
18    host_supported: true,
19    crate_name: "tinyvec",
20    cargo_env_compat: true,
21    cargo_pkg_version: "1.6.0",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    features: [
25        "alloc",
26        "default",
27        "rustc_1_40",
28        "rustc_1_55",
29        "rustc_1_57",
30        "std",
31        "tinyvec_macros",
32    ],
33    rustlibs: ["libtinyvec_macros"],
34    apex_available: [
35        "//apex_available:platform",
36        "//apex_available:anyapex",
37    ],
38    product_available: true,
39    vendor_available: true,
40    min_sdk_version: "29",
41}
42
43rust_test {
44    name: "tinyvec_test_tests_arrayvec",
45    host_supported: true,
46    crate_name: "arrayvec",
47    cargo_env_compat: true,
48    cargo_pkg_version: "1.6.0",
49    crate_root: "tests/arrayvec.rs",
50    test_suites: ["general-tests"],
51    auto_gen_config: true,
52    test_options: {
53        unit_test: true,
54    },
55    edition: "2018",
56    features: [
57        "alloc",
58        "default",
59        "rustc_1_40",
60        "rustc_1_55",
61        "rustc_1_57",
62        "std",
63        "tinyvec_macros",
64    ],
65    rustlibs: [
66        "libcriterion",
67        "libserde_test",
68        "libsmallvec",
69        "libtinyvec",
70        "libtinyvec_macros",
71    ],
72}
73
74rust_test {
75    name: "tinyvec_test_tests_tinyvec",
76    host_supported: true,
77    crate_name: "tinyvec",
78    cargo_env_compat: true,
79    cargo_pkg_version: "1.6.0",
80    crate_root: "tests/tinyvec.rs",
81    test_suites: ["general-tests"],
82    auto_gen_config: true,
83    test_options: {
84        unit_test: true,
85    },
86    edition: "2018",
87    features: [
88        "alloc",
89        "default",
90        "rustc_1_40",
91        "rustc_1_55",
92        "rustc_1_57",
93        "std",
94        "tinyvec_macros",
95    ],
96    rustlibs: [
97        "libcriterion",
98        "libserde_test",
99        "libsmallvec",
100        "libtinyvec",
101        "libtinyvec_macros",
102    ],
103}
104
105rust_library_rlib {
106    name: "libtinyvec_nostd",
107    crate_name: "tinyvec",
108    cargo_env_compat: true,
109    cargo_pkg_version: "1.6.0",
110    crate_root: "src/lib.rs",
111    edition: "2018",
112    apex_available: [
113        "//apex_available:platform",
114        "//apex_available:anyapex",
115    ],
116    prefer_rlib: true,
117    no_stdlibs: true,
118    stdlibs: [
119        "libcompiler_builtins.rust_sysroot",
120        "libcore.rust_sysroot",
121    ],
122    product_available: true,
123    vendor_available: true,
124    min_sdk_version: "29",
125}
126
127dirgroup {
128    name: "trusty_dirgroup_external_rust_crates_tinyvec",
129    visibility: ["//trusty/vendor/google/aosp/scripts"],
130    dirs: ["."],
131}
132