Jeff Vander Stoep | a9736bd | 2020-12-21 09:54:13 +0100 | [diff] [blame^] | 1 | // This file is generated by cargo2android.py --run --device --dependencies --tests. |
| 2 | |
| 3 | rust_defaults { |
| 4 | name: "bencher_defaults", |
| 5 | crate_name: "bencher", |
| 6 | // has rustc warnings |
| 7 | srcs: ["lib.rs"], |
| 8 | test_suites: ["general-tests"], |
| 9 | auto_gen_config: true, |
| 10 | edition: "2015", |
| 11 | } |
| 12 | |
| 13 | rust_test_host { |
| 14 | name: "bencher_host_test_lib", |
| 15 | defaults: ["bencher_defaults"], |
| 16 | } |
| 17 | |
| 18 | rust_test { |
| 19 | name: "bencher_device_test_lib", |
| 20 | defaults: ["bencher_defaults"], |
| 21 | } |
| 22 | |
| 23 | rust_library { |
| 24 | name: "libbencher", |
| 25 | // has rustc warnings |
| 26 | host_supported: true, |
| 27 | crate_name: "bencher", |
| 28 | srcs: ["lib.rs"], |
| 29 | edition: "2015", |
| 30 | } |