• 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_unicode-width_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_unicode-width_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libunicode_width",
18    host_supported: true,
19    crate_name: "unicode_width",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.2.0",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: [
25        "cjk",
26        "default",
27    ],
28    apex_available: [
29        "//apex_available:platform",
30        "//apex_available:anyapex",
31    ],
32    product_available: true,
33    vendor_available: true,
34    min_sdk_version: "29",
35}
36
37rust_test {
38    name: "unicode-width_test_src_lib",
39    host_supported: true,
40    crate_name: "unicode_width",
41    cargo_env_compat: true,
42    cargo_pkg_version: "0.2.0",
43    crate_root: "src/lib.rs",
44    test_suites: ["general-tests"],
45    auto_gen_config: true,
46    test_options: {
47        unit_test: true,
48    },
49    edition: "2021",
50    features: [
51        "cjk",
52        "default",
53    ],
54}
55
56rust_test {
57    name: "unicode-width_test_tests_tests",
58    host_supported: true,
59    crate_name: "tests",
60    cargo_env_compat: true,
61    cargo_pkg_version: "0.2.0",
62    crate_root: "tests/tests.rs",
63    test_suites: ["general-tests"],
64    auto_gen_config: true,
65    test_options: {
66        unit_test: true,
67    },
68    edition: "2021",
69    features: [
70        "cjk",
71        "default",
72    ],
73    rustlibs: ["libunicode_width"],
74    data: ["tests/emoji-test.txt"],
75}
76