blob: 1b5cf092436f013b211f0c425e61f1518fe7dab3 [file] [log] [blame]
Jiyong Parkf29fe392021-07-15 06:03:31 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5java_test_host {
6 name: "AuthFsHostTest",
7 srcs: ["java/**/*.java"],
8 libs: [
9 "tradefed",
10 "compatibility-tradefed",
11 "compatibility-host-util",
12 ],
13 static_libs: [
14 "VirtualizationTestHelper",
15 ],
16 test_suites: ["general-tests"],
Victor Hsiehc0f5fa72022-01-27 23:35:14 +000017 data_device_bins: ["open_then_run"],
Jiyong Park29de5172022-02-08 00:37:05 +090018 per_testcase_directory: true,
Jiyong Parkf29fe392021-07-15 06:03:31 +000019 data: [
20 ":authfs_test_files",
Jiyong Parkf41a7c62022-02-04 16:22:56 +090021 ":MicrodroidTestApp",
Jiyong Parkf29fe392021-07-15 06:03:31 +000022 ],
23}
Victor Hsiehae67d3b2021-10-19 12:59:42 -070024
25rust_test {
Victor Hsiehc0f5fa72022-01-27 23:35:14 +000026 name: "open_then_run",
Victor Hsiehae67d3b2021-10-19 12:59:42 -070027 crate_name: "open_then_run",
28 srcs: ["open_then_run.rs"],
29 edition: "2018",
30 rustlibs: [
31 "libandroid_logger",
32 "libanyhow",
33 "libclap",
34 "libcommand_fds",
35 "liblog_rust",
Victor Hsieh0e8976f2021-11-05 16:54:24 +000036 "libnix",
Victor Hsiehae67d3b2021-10-19 12:59:42 -070037 ],
38 test_suites: ["general-tests"],
39 test_harness: false,
40}