• 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_icu_capi_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_icu_capi_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Unicode-3.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libicu_capi",
18    host_supported: true,
19    crate_name: "icu_capi",
20    cargo_env_compat: true,
21    cargo_pkg_version: "2.0.0-beta2",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: [
25        "compiled_data",
26        "properties",
27    ],
28    rustlibs: [
29        "libdiplomat_runtime",
30        "libicu_collections",
31        "libicu_locale_core",
32        "libicu_properties",
33        "libicu_provider",
34        "libicu_provider_adapters",
35        "libpotential_utf",
36        "libtinystr",
37        "libunicode_bidi",
38        "libwriteable",
39        "libzerovec",
40    ],
41    proc_macros: ["libdiplomat"],
42    include_dirs: ["bindings/cpp"],
43    apex_available: [
44        "//apex_available:platform",
45        "//apex_available:anyapex",
46    ],
47    native_bridge_supported: true,
48    product_available: true,
49    recovery_available: true,
50    vendor_available: true,
51    vendor_ramdisk_available: true,
52    ramdisk_available: true,
53    min_sdk_version: "29",
54}
55