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", |
Nikita Ioffe | da1b273 | 2023-09-04 13:46:56 +0100 | [diff] [blame] | 21 | defaults: ["avf_build_flags_rust"], |
Alice Wang | e4829c8 | 2022-10-18 14:05:28 +0000 | [diff] [blame] | 22 | srcs: ["src/open_then_run.rs"], |
| 23 | edition: "2021", |
| 24 | rustlibs: [ |
| 25 | "libandroid_logger", |
| 26 | "libanyhow", |
| 27 | "libclap", |
| 28 | "libcommand_fds", |
| 29 | "liblibc", |
| 30 | "liblog_rust", |
| 31 | ], |
| 32 | test_suites: ["general-tests"], |
| 33 | test_harness: false, |
| 34 | } |
Andrew Walbran | aa1efc4 | 2022-08-10 13:33:57 +0000 | [diff] [blame] | 35 | |
| 36 | rust_test { |
| 37 | name: "open_then_run.test", |
| 38 | crate_name: "open_then_run", |
Nikita Ioffe | da1b273 | 2023-09-04 13:46:56 +0100 | [diff] [blame] | 39 | defaults: ["avf_build_flags_rust"], |
Andrew Walbran | aa1efc4 | 2022-08-10 13:33:57 +0000 | [diff] [blame] | 40 | srcs: ["src/open_then_run.rs"], |
| 41 | edition: "2021", |
| 42 | rustlibs: [ |
| 43 | "libandroid_logger", |
| 44 | "libanyhow", |
| 45 | "libclap", |
| 46 | "libcommand_fds", |
| 47 | "liblibc", |
| 48 | "liblog_rust", |
| 49 | ], |
| 50 | test_suites: ["general-tests"], |
| 51 | } |