• 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_half_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_half_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libhalf",
18    host_supported: true,
19    crate_name: "half",
20    cargo_env_compat: true,
21    cargo_pkg_version: "2.2.1",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: [
25        "alloc",
26        "default",
27        "std",
28    ],
29    apex_available: [
30        "//apex_available:platform",
31        "//apex_available:anyapex",
32    ],
33    product_available: true,
34    vendor_available: true,
35    min_sdk_version: "29",
36}
37
38rust_library_rlib {
39    name: "libhalf_nostd",
40    crate_name: "half",
41    cargo_env_compat: true,
42    cargo_pkg_version: "2.2.1",
43    crate_root: "src/lib.rs",
44    edition: "2021",
45    features: ["alloc"],
46    apex_available: [
47        "//apex_available:platform",
48        "//apex_available:anyapex",
49    ],
50    prefer_rlib: true,
51    no_stdlibs: true,
52    stdlibs: [
53        "liballoc.rust_sysroot",
54        "libcompiler_builtins.rust_sysroot",
55        "libcore.rust_sysroot",
56    ],
57    product_available: true,
58    vendor_available: true,
59    min_sdk_version: "29",
60}
61
62dirgroup {
63    name: "trusty_dirgroup_external_rust_crates_half",
64    visibility: ["//trusty/vendor/google/aosp/scripts"],
65    dirs: ["."],
66}
67