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
42
43
44
|
// This file is generated by cargo2android.py, edited with on device tests.
// Limitation: on device tests must be statically linked.
rust_library_rlib {
name: "libunicode_xid",
host_supported: true,
crate_name: "unicode_xid",
srcs: ["src/lib.rs"],
edition: "2015",
features: [
"default",
],
}
rust_test {
name: "unicode-xid_device_tests_unicode_xid",
crate_name: "unicode_xid",
srcs: ["src/lib.rs"],
// relative_install_path not used for device test
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2015",
features: [
"default",
],
rlibs: [
"libstd.static",
"libtest.static",
"libterm.static",
],
}
rust_test_host {
name: "unicode-xid_host_tests_unicode_xid",
crate_name: "unicode_xid",
srcs: ["src/lib.rs"],
relative_install_path: "unicode-xid_tests",
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2015",
features: [
"default",
],
}
|