aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 67d2d6f022d8c2f78752819dbbd0fa7770f151f6 (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 --device --run --dependencies --test --features=std.

rust_defaults {
    name: "fallible-streaming-iterator_defaults",
    crate_name: "fallible_streaming_iterator",
    // has rustc warnings
    srcs: ["src/lib.rs"],
    test_suites: ["general-tests"],
    auto_gen_config: true,
    edition: "2015",
    features: [
        "std",
    ],
}

rust_test_host {
    name: "fallible-streaming-iterator_host_test_src_lib",
    defaults: ["fallible-streaming-iterator_defaults"],
}

rust_test {
    name: "fallible-streaming-iterator_device_test_src_lib",
    defaults: ["fallible-streaming-iterator_defaults"],
}

rust_library {
    name: "libfallible_streaming_iterator",
    // has rustc warnings
    host_supported: true,
    crate_name: "fallible_streaming_iterator",
    srcs: ["src/lib.rs"],
    edition: "2015",
    features: [
        "std",
    ],
}