blob: 61667f37a26f9e3a58f70339a98f983c7233d051 [file] [log] [blame]
Jaewan Kim329c7102023-08-30 16:50:55 +09001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5genrule_defaults {
6 name: "test_avf_dts_to_dtb",
7 tools: ["dtc"],
8 cmd: "$(location dtc) -I dts -O dtb $(in) -o $(out)",
9}
10
11genrule {
12 name: "test_avf_debug_policy_with_adb",
13 defaults: ["test_avf_dts_to_dtb"],
14 srcs: ["assets/avf_debug_policy_with_adb.dts"],
15 out: ["avf_debug_policy_with_adb.dtbo"],
16}
17
18genrule {
19 name: "test_avf_debug_policy_without_adb",
20 defaults: ["test_avf_dts_to_dtb"],
21 srcs: ["assets/avf_debug_policy_without_adb.dts"],
22 out: ["avf_debug_policy_without_adb.dtbo"],
23}
24
25java_test_host {
26 name: "CustomPvmfwHostTestCases",
27 srcs: ["java/**/*.java"],
28 test_suites: ["general-tests"],
29 libs: [
30 "androidx.annotation_annotation",
31 "tradefed",
32 ],
33 static_libs: [
34 "MicrodroidHostTestHelper",
35 "PvmfwHostTestHelper",
36 "compatibility-host-util",
37 ],
38 per_testcase_directory: true,
39 data: [
40 ":MicrodroidTestApp",
41 ":pvmfw_test",
42 ":test_avf_debug_policy_with_adb",
43 ":test_avf_debug_policy_without_adb",
44 "assets/bcc.dat",
45 ],
46}