1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5genrule {
6    name: "test_avf_debug_policy_with_ramdump",
7    defaults: ["dts_to_dtb"],
8    srcs: ["assets/avf_debug_policy_with_ramdump.dts"],
9    out: ["avf_debug_policy_with_ramdump.dtbo"],
10}
11
12genrule {
13    name: "test_avf_debug_policy_without_ramdump",
14    defaults: ["dts_to_dtb"],
15    srcs: ["assets/avf_debug_policy_without_ramdump.dts"],
16    out: ["avf_debug_policy_without_ramdump.dtbo"],
17}
18
19genrule {
20    name: "test_avf_debug_policy_with_adb",
21    defaults: ["dts_to_dtb"],
22    srcs: ["assets/avf_debug_policy_with_adb.dts"],
23    out: ["avf_debug_policy_with_adb.dtbo"],
24}
25
26genrule {
27    name: "test_avf_debug_policy_without_adb",
28    defaults: ["dts_to_dtb"],
29    srcs: ["assets/avf_debug_policy_without_adb.dts"],
30    out: ["avf_debug_policy_without_adb.dtbo"],
31}
32
33java_test_host {
34    name: "CustomPvmfwHostTestCases",
35    srcs: ["java/**/*.java"],
36    test_suites: ["general-tests"],
37    libs: [
38        "androidx.annotation_annotation",
39        "tradefed",
40    ],
41    static_libs: [
42        "MicrodroidHostTestHelper",
43        "PvmfwHostTestHelper",
44        "compatibility-host-util",
45    ],
46    per_testcase_directory: true,
47    data: [
48        ":MicrodroidTestApp",
49        ":pvmfw_test",
50        ":test_avf_debug_policy_with_ramdump",
51        ":test_avf_debug_policy_without_ramdump",
52        ":test_avf_debug_policy_with_adb",
53        ":test_avf_debug_policy_without_adb",
54        "assets/bcc.dat",
55    ],
56    data_device_bins_first: ["dtc_static"],
57}
58