• 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_uuid_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_uuid_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libuuid",
18    host_supported: true,
19    crate_name: "uuid",
20    cargo_env_compat: true,
21    cargo_pkg_version: "1.12.1",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    features: [
25        "atomic",
26        "rng",
27        "serde",
28        "std",
29        "v1",
30        "v4",
31    ],
32    rustlibs: [
33        "libatomic_rust",
34        "libgetrandom",
35        "libserde",
36    ],
37    apex_available: [
38        "//apex_available:platform",
39        "//apex_available:anyapex",
40    ],
41    product_available: true,
42    vendor_available: true,
43    min_sdk_version: "29",
44}
45
46rust_test {
47    name: "uuid_test_src_lib",
48    host_supported: true,
49    crate_name: "uuid",
50    cargo_env_compat: true,
51    cargo_pkg_version: "1.12.1",
52    crate_root: "src/lib.rs",
53    test_suites: ["general-tests"],
54    auto_gen_config: true,
55    test_options: {
56        unit_test: true,
57    },
58    edition: "2018",
59    features: [
60        "atomic",
61        "rng",
62        "serde",
63        "std",
64        "v1",
65        "v4",
66    ],
67    rustlibs: [
68        "libatomic_rust",
69        "libbincode",
70        "libgetrandom",
71        "libserde",
72        "libserde_json",
73        "libserde_test",
74    ],
75    proc_macros: [
76        "librustversion",
77        "libserde_derive",
78    ],
79}
80
81rust_library_rlib {
82    name: "libuuid_nostd",
83    crate_name: "uuid",
84    cargo_env_compat: true,
85    cargo_pkg_version: "1.12.1",
86    crate_root: "src/lib.rs",
87    edition: "2018",
88    apex_available: [
89        "//apex_available:platform",
90        "//apex_available:anyapex",
91    ],
92    prefer_rlib: true,
93    no_stdlibs: true,
94    stdlibs: [
95        "libcompiler_builtins.rust_sysroot",
96        "libcore.rust_sysroot",
97    ],
98    product_available: true,
99    vendor_available: true,
100    min_sdk_version: "29",
101}
102
103dirgroup {
104    name: "trusty_dirgroup_external_rust_crates_uuid",
105    visibility: ["//trusty/vendor/google/aosp/scripts"],
106    dirs: ["."],
107}
108