blob: 0160e0f0de10a58ec8d69d98e3b7b17d129cd9a0 [file] [log] [blame]
Chih-Hung Hsieh5b4aa242019-11-14 12:20:36 -08001// This file is generated by cargo2android.py, edited with on device tests.
2// Limitation: on device tests must be statically linked.
Chih-Hung Hsieh8f400212019-10-25 18:17:23 -07003
Ivan Lozano062b4bd2019-09-06 09:24:18 -07004rust_library_rlib {
5 name: "libunicode_xid",
Chih-Hung Hsieh1809e3e2019-10-06 17:57:30 -07006 host_supported: true,
Ivan Lozano062b4bd2019-09-06 09:24:18 -07007 crate_name: "unicode_xid",
8 srcs: ["src/lib.rs"],
Chih-Hung Hsieh1809e3e2019-10-06 17:57:30 -07009 edition: "2015",
10 features: [
11 "default",
12 ],
Ivan Lozano062b4bd2019-09-06 09:24:18 -070013}
Chih-Hung Hsieh23580d42019-10-02 18:11:32 -070014
15rust_test {
Chih-Hung Hsieh5b4aa242019-11-14 12:20:36 -080016 name: "unicode-xid_device_tests_unicode_xid",
Chih-Hung Hsieh23580d42019-10-02 18:11:32 -070017 crate_name: "unicode_xid",
18 srcs: ["src/lib.rs"],
Chih-Hung Hsieh5b4aa242019-11-14 12:20:36 -080019 // relative_install_path not used for device test
20 test_suites: ["general-tests"],
21 auto_gen_config: true,
22 edition: "2015",
23 features: [
24 "default",
25 ],
26 rlibs: [
27 "libstd.static",
28 "libtest.static",
29 "libterm.static",
30 ],
31}
32
33rust_test_host {
34 name: "unicode-xid_host_tests_unicode_xid",
35 crate_name: "unicode_xid",
36 srcs: ["src/lib.rs"],
37 relative_install_path: "unicode-xid_tests",
38 test_suites: ["general-tests"],
39 auto_gen_config: true,
Chih-Hung Hsieh23580d42019-10-02 18:11:32 -070040 edition: "2015",
41 features: [
42 "default",
43 ],
44}