aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 7f627cdbf7ebd88f6bbe8c1b946d7504e4cbae8d (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
// This file is generated by cargo2android.py --run --device --tests.

rust_library_rlib {
    name: "libslab",
    host_supported: true,
    crate_name: "slab",
    srcs: ["src/lib.rs"],
    edition: "2015",
}

rust_test {
    name: "slab_tests_slab",
    host_supported: true,
    crate_name: "slab",
    srcs: ["src/lib.rs"],
    test_suites: ["general-tests"],
    auto_gen_config: true,
    edition: "2015",
}

rust_test {
    name: "slab_tests_slab1",
    host_supported: true,
    crate_name: "slab",
    srcs: ["tests/slab.rs"],
    test_suites: ["general-tests"],
    auto_gen_config: true,
    edition: "2015",
    rlibs: [
        "libslab",
    ],
}