aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 05c6e3bdc46ec19cb7e61ee3abe30683d745882a (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
35
36
// This file is generated by cargo2android.py --run --device --tests --global_defaults=crosvm_defaults --add_workspace.
// Do not modify this file as changes will be overridden on upgrade.

rust_library {
    name: "libterminal_size",
    defaults: ["crosvm_defaults"],
    host_supported: true,
    crate_name: "terminal_size",
    cargo_env_compat: true,
    cargo_pkg_version: "0.1.17",
    srcs: ["src/lib.rs"],
    edition: "2018",
    rustlibs: [
        "liblibc",
    ],
}

rust_test {
    name: "terminal-size_test_src_lib",
    defaults: ["crosvm_defaults"],
    host_supported: true,
    crate_name: "terminal_size",
    cargo_env_compat: true,
    cargo_pkg_version: "0.1.17",
    srcs: ["src/lib.rs"],
    test_suites: ["general-tests"],
    auto_gen_config: true,
    test_options: {
        // TODO(b/230624876) enable the test once it passes
        unit_test: false,
    },
    edition: "2018",
    rustlibs: [
        "liblibc",
    ],
}