1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5java_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 18rust_test { 19 name: "open_then_run", 20 crate_name: "open_then_run", 21 defaults: ["avf_build_flags_rust"], 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} 35 36rust_test { 37 name: "open_then_run.test", 38 crate_name: "open_then_run", 39 defaults: ["avf_build_flags_rust"], 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} 52