2021-03-09 11:32:15 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
|
|
|
java_test_host {
|
|
|
|
name: "MicrodroidHostTestCases",
|
|
|
|
srcs: ["java/**/*.java"],
|
2022-02-07 15:37:05 +00:00
|
|
|
test_suites: [
|
|
|
|
"cts",
|
|
|
|
"general-tests",
|
|
|
|
],
|
2021-06-14 12:13:32 +00:00
|
|
|
libs: [
|
|
|
|
"tradefed",
|
2021-06-30 21:25:42 +00:00
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"VirtualizationTestHelper",
|
2021-06-14 12:13:32 +00:00
|
|
|
],
|
2022-02-07 15:37:05 +00:00
|
|
|
per_testcase_directory: true,
|
2022-02-09 13:57:11 +00:00
|
|
|
data: [
|
|
|
|
":MicrodroidTestApp",
|
|
|
|
":microdroid_general_sepolicy.conf",
|
2022-02-21 20:22:23 +00:00
|
|
|
":test.com.android.virt.pem",
|
2022-02-23 17:35:59 +00:00
|
|
|
":test2.com.android.virt.pem",
|
2022-02-21 20:22:23 +00:00
|
|
|
":test-payload-metadata",
|
2022-02-24 04:04:03 +00:00
|
|
|
":com.android.adbd{.apex}",
|
|
|
|
":com.android.os.statsd{.apex}",
|
2022-02-21 20:22:23 +00:00
|
|
|
],
|
|
|
|
data_native_bins: [
|
|
|
|
"sepolicy-analyze",
|
|
|
|
// For re-sign test
|
|
|
|
"avbtool",
|
|
|
|
"img2simg",
|
|
|
|
"lpmake",
|
|
|
|
"lpunpack",
|
|
|
|
"sign_virt_apex",
|
|
|
|
"simg2img",
|
|
|
|
],
|
|
|
|
// java_test_host doesn't have data_native_libs but jni_libs can be used to put
|
|
|
|
// native modules under ./lib directory.
|
|
|
|
// This works because host tools have rpath (../lib and ./lib).
|
|
|
|
jni_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libc++",
|
|
|
|
"libcrypto_utils",
|
|
|
|
"libcrypto",
|
|
|
|
"libext4_utils",
|
|
|
|
"liblog",
|
|
|
|
"liblp",
|
|
|
|
"libsparse",
|
|
|
|
"libz",
|
2022-02-09 13:57:11 +00:00
|
|
|
],
|
2021-03-09 11:32:15 +00:00
|
|
|
}
|