android_packages_modules_Vi.../authfs/tests/Android.bp

45 lines
939 B
Plaintext

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_test_host {
name: "AuthFsHostTest",
srcs: ["java/**/*.java"],
libs: [
"tradefed",
"compatibility-tradefed",
"compatibility-host-util",
],
static_libs: [
"MicrodroidHostTestHelper",
],
test_suites: ["general-tests"],
data_device_bins_first: [
"open_then_run",
"fsverity",
],
per_testcase_directory: true,
data: [
":authfs_test_files",
":CtsApkVerityTestPrebuiltFiles",
":MicrodroidTestApp",
],
}
rust_test {
name: "open_then_run",
crate_name: "open_then_run",
srcs: ["open_then_run.rs"],
edition: "2021",
rustlibs: [
"libandroid_logger",
"libanyhow",
"libclap",
"libcommand_fds",
"liblibc",
"liblog_rust",
],
test_suites: ["general-tests"],
test_harness: false,
}