Alice Wang | e4829c8 | 2022-10-18 14:05:28 +0000 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | java_library_host { |
| 6 | name: "AuthFsHostTestCommon", |
| 7 | srcs: ["src/java/**/*.java"], |
| 8 | libs: [ |
| 9 | "compatibility-host-util", |
| 10 | "compatibility-tradefed", |
| 11 | "tradefed", |
| 12 | ], |
| 13 | static_libs: [ |
| 14 | "MicrodroidHostTestHelper", |
| 15 | ], |
| 16 | } |
| 17 | |
| 18 | rust_test { |
| 19 | name: "open_then_run", |
| 20 | crate_name: "open_then_run", |
| 21 | srcs: ["src/open_then_run.rs"], |
| 22 | edition: "2021", |
| 23 | rustlibs: [ |
| 24 | "libandroid_logger", |
| 25 | "libanyhow", |
| 26 | "libclap", |
| 27 | "libcommand_fds", |
| 28 | "liblibc", |
| 29 | "liblog_rust", |
| 30 | ], |
| 31 | test_suites: ["general-tests"], |
| 32 | test_harness: false, |
| 33 | } |
Andrew Walbran | aa1efc4 | 2022-08-10 13:33:57 +0000 | [diff] [blame] | 34 | |
| 35 | rust_test { |
| 36 | name: "open_then_run.test", |
| 37 | crate_name: "open_then_run", |
| 38 | srcs: ["src/open_then_run.rs"], |
| 39 | edition: "2021", |
| 40 | rustlibs: [ |
| 41 | "libandroid_logger", |
| 42 | "libanyhow", |
| 43 | "libclap", |
| 44 | "libcommand_fds", |
| 45 | "liblibc", |
| 46 | "liblog_rust", |
| 47 | ], |
| 48 | test_suites: ["general-tests"], |
| 49 | } |