Chih-Hung Hsieh | 5b4aa24 | 2019-11-14 12:20:36 -0800 | [diff] [blame] | 1 | // This file is generated by cargo2android.py, edited with on device tests. |
| 2 | // Limitation: on device tests must be statically linked. |
Chih-Hung Hsieh | 8f40021 | 2019-10-25 18:17:23 -0700 | [diff] [blame] | 3 | |
Ivan Lozano | 062b4bd | 2019-09-06 09:24:18 -0700 | [diff] [blame] | 4 | rust_library_rlib { |
| 5 | name: "libunicode_xid", |
Chih-Hung Hsieh | 1809e3e | 2019-10-06 17:57:30 -0700 | [diff] [blame] | 6 | host_supported: true, |
Ivan Lozano | 062b4bd | 2019-09-06 09:24:18 -0700 | [diff] [blame] | 7 | crate_name: "unicode_xid", |
| 8 | srcs: ["src/lib.rs"], |
Chih-Hung Hsieh | 1809e3e | 2019-10-06 17:57:30 -0700 | [diff] [blame] | 9 | edition: "2015", |
| 10 | features: [ |
| 11 | "default", |
| 12 | ], |
Ivan Lozano | 062b4bd | 2019-09-06 09:24:18 -0700 | [diff] [blame] | 13 | } |
Chih-Hung Hsieh | 23580d4 | 2019-10-02 18:11:32 -0700 | [diff] [blame] | 14 | |
| 15 | rust_test { |
Chih-Hung Hsieh | 5b4aa24 | 2019-11-14 12:20:36 -0800 | [diff] [blame] | 16 | name: "unicode-xid_device_tests_unicode_xid", |
Chih-Hung Hsieh | 23580d4 | 2019-10-02 18:11:32 -0700 | [diff] [blame] | 17 | crate_name: "unicode_xid", |
| 18 | srcs: ["src/lib.rs"], |
Chih-Hung Hsieh | 5b4aa24 | 2019-11-14 12:20:36 -0800 | [diff] [blame] | 19 | // 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 | |
| 33 | rust_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 Hsieh | 23580d4 | 2019-10-02 18:11:32 -0700 | [diff] [blame] | 40 | edition: "2015", |
| 41 | features: [ |
| 42 | "default", |
| 43 | ], |
| 44 | } |