blob: 474c62eeca0399dfe20da600e94388a455eaefc1 [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 {
Jaewan Kim46b96702023-09-07 15:24:51 +090012 name: "test_avf_debug_policy_with_ramdump",
13 defaults: ["test_avf_dts_to_dtb"],
14 srcs: ["assets/avf_debug_policy_with_ramdump.dts"],
15 out: ["avf_debug_policy_with_ramdump.dtbo"],
16}
17
18genrule {
19 name: "test_avf_debug_policy_without_ramdump",
20 defaults: ["test_avf_dts_to_dtb"],
21 srcs: ["assets/avf_debug_policy_without_ramdump.dts"],
22 out: ["avf_debug_policy_without_ramdump.dtbo"],
23}
24
25genrule {
Jaewan Kim329c7102023-08-30 16:50:55 +090026 name: "test_avf_debug_policy_with_adb",
27 defaults: ["test_avf_dts_to_dtb"],
28 srcs: ["assets/avf_debug_policy_with_adb.dts"],
29 out: ["avf_debug_policy_with_adb.dtbo"],
30}
31
32genrule {
33 name: "test_avf_debug_policy_without_adb",
34 defaults: ["test_avf_dts_to_dtb"],
35 srcs: ["assets/avf_debug_policy_without_adb.dts"],
36 out: ["avf_debug_policy_without_adb.dtbo"],
37}
38
39java_test_host {
40 name: "CustomPvmfwHostTestCases",
41 srcs: ["java/**/*.java"],
42 test_suites: ["general-tests"],
43 libs: [
44 "androidx.annotation_annotation",
45 "tradefed",
46 ],
47 static_libs: [
48 "MicrodroidHostTestHelper",
49 "PvmfwHostTestHelper",
50 "compatibility-host-util",
51 ],
52 per_testcase_directory: true,
53 data: [
54 ":MicrodroidTestApp",
55 ":pvmfw_test",
Jaewan Kim46b96702023-09-07 15:24:51 +090056 ":test_avf_debug_policy_with_ramdump",
57 ":test_avf_debug_policy_without_ramdump",
Jaewan Kim329c7102023-08-30 16:50:55 +090058 ":test_avf_debug_policy_with_adb",
59 ":test_avf_debug_policy_without_adb",
60 "assets/bcc.dat",
61 ],
62}