Victor Hsieh | 1fe51c4 | 2020-11-05 11:08:10 -0800 | [diff] [blame^] | 1 | rust_defaults { |
| 2 | name: "authfs_defaults", |
| 3 | crate_name: "authfs", |
| 4 | srcs: [ |
| 5 | "src/lib.rs", |
| 6 | ], |
| 7 | edition: "2018", |
| 8 | rustlibs: [ |
| 9 | "liblibc", |
| 10 | ], |
| 11 | host_supported: true, |
| 12 | clippy_lints: "android", |
| 13 | } |
| 14 | |
| 15 | rust_library { |
| 16 | name: "libauthfs", |
| 17 | defaults: ["authfs_defaults"], |
| 18 | } |
| 19 | |
| 20 | rust_test_host { |
| 21 | name: "authfs_host_test_src_lib", |
| 22 | test_suites: ["general-tests"], |
| 23 | defaults: ["authfs_defaults"], |
| 24 | } |
| 25 | |
| 26 | // TODO(victorhsieh): Enable the test once "undefined symbol: _Unwind_Resume" is fixed, then add to |
| 27 | // TEST_MAPPING. |
| 28 | //rust_test { |
| 29 | // name: "authfs_device_test_src_lib", |
| 30 | // defaults: ["authfs_defaults"], |
| 31 | //} |