aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 62a7c18d3ace37ffd72f726aa2f4d80d9136f756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.

rust_library {
    name: "libutf8",
    host_supported: true,
    crate_name: "utf8",
    cargo_env_compat: true,
    cargo_pkg_version: "0.7.6",
    srcs: ["src/lib.rs"],
    edition: "2015",
    apex_available: [
        "//apex_available:platform",
        "//apex_available:anyapex",
    ],
    product_available: true,
    vendor_available: true,
}

rust_test {
    name: "utf-8_test_tests_unit",
    host_supported: true,
    crate_name: "unit",
    cargo_env_compat: true,
    cargo_pkg_version: "0.7.6",
    srcs: ["tests/unit.rs"],
    test_suites: ["general-tests"],
    auto_gen_config: true,
    test_options: {
        unit_test: true,
    },
    edition: "2015",
    rustlibs: ["libutf8"],
}