aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 3c3c0b494e105124789203d8934e476bcad3e6d3 (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
37
38
39
40
41
// This file is generated by cargo2android.py --run --device --dependencies --tests.
// Do not modify this file as changes will be overridden on upgrade.

rust_library {
    name: "libthread_local",
    host_supported: true,
    crate_name: "thread_local",
    srcs: ["src/lib.rs"],
    edition: "2018",
    rustlibs: [
        "libonce_cell",
    ],
}

rust_defaults {
    name: "thread_local_defaults",
    crate_name: "thread_local",
    srcs: ["src/lib.rs"],
    test_suites: ["general-tests"],
    auto_gen_config: true,
    edition: "2018",
    rustlibs: [
        "libonce_cell",
    ],
}

rust_test_host {
    name: "thread_local_host_test_src_lib",
    defaults: ["thread_local_defaults"],
    test_options: {
        unit_test: true,
    },
}

rust_test {
    name: "thread_local_device_test_src_lib",
    defaults: ["thread_local_defaults"],
}

// dependent_library ["feature_list"]
//   once_cell-1.7.2 "alloc,default,race,std"