blob: bba329eb028adbe98c801699136264e0e94f6e4a [file] [log] [blame]
Alice Wange4829c82022-10-18 14:05:28 +00001package {
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",
Nikita Ioffeda1b2732023-09-04 13:46:56 +010021 defaults: ["avf_build_flags_rust"],
Alice Wange4829c82022-10-18 14:05:28 +000022 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 Walbranaa1efc42022-08-10 13:33:57 +000035
36rust_test {
37 name: "open_then_run.test",
38 crate_name: "open_then_run",
Nikita Ioffeda1b2732023-09-04 13:46:56 +010039 defaults: ["avf_build_flags_rust"],
Andrew Walbranaa1efc42022-08-10 13:33:57 +000040 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}