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