Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 5 | genrule { |
Jaewan Kim | 46b9670 | 2023-09-07 15:24:51 +0900 | [diff] [blame] | 6 | name: "test_avf_debug_policy_with_ramdump", |
Jaewan Kim | 0df5fb1 | 2023-09-24 23:33:54 +0900 | [diff] [blame] | 7 | defaults: ["dts_to_dtb"], |
Jaewan Kim | 46b9670 | 2023-09-07 15:24:51 +0900 | [diff] [blame] | 8 | srcs: ["assets/avf_debug_policy_with_ramdump.dts"], |
| 9 | out: ["avf_debug_policy_with_ramdump.dtbo"], |
| 10 | } |
| 11 | |
| 12 | genrule { |
| 13 | name: "test_avf_debug_policy_without_ramdump", |
Jaewan Kim | 0df5fb1 | 2023-09-24 23:33:54 +0900 | [diff] [blame] | 14 | defaults: ["dts_to_dtb"], |
Jaewan Kim | 46b9670 | 2023-09-07 15:24:51 +0900 | [diff] [blame] | 15 | srcs: ["assets/avf_debug_policy_without_ramdump.dts"], |
| 16 | out: ["avf_debug_policy_without_ramdump.dtbo"], |
| 17 | } |
| 18 | |
| 19 | genrule { |
Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 20 | name: "test_avf_debug_policy_with_adb", |
Jaewan Kim | 0df5fb1 | 2023-09-24 23:33:54 +0900 | [diff] [blame] | 21 | defaults: ["dts_to_dtb"], |
Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 22 | srcs: ["assets/avf_debug_policy_with_adb.dts"], |
| 23 | out: ["avf_debug_policy_with_adb.dtbo"], |
| 24 | } |
| 25 | |
| 26 | genrule { |
| 27 | name: "test_avf_debug_policy_without_adb", |
Jaewan Kim | 0df5fb1 | 2023-09-24 23:33:54 +0900 | [diff] [blame] | 28 | defaults: ["dts_to_dtb"], |
Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 29 | srcs: ["assets/avf_debug_policy_without_adb.dts"], |
| 30 | out: ["avf_debug_policy_without_adb.dtbo"], |
| 31 | } |
| 32 | |
| 33 | java_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", |
Jaewan Kim | 46b9670 | 2023-09-07 15:24:51 +0900 | [diff] [blame] | 50 | ":test_avf_debug_policy_with_ramdump", |
| 51 | ":test_avf_debug_policy_without_ramdump", |
Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 52 | ":test_avf_debug_policy_with_adb", |
| 53 | ":test_avf_debug_policy_without_adb", |
| 54 | "assets/bcc.dat", |
| 55 | ], |
Jaewan Kim | 541cb0c | 2024-03-12 21:09:16 +0900 | [diff] [blame] | 56 | data_device_bins_first: ["dtc_static"], |
Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 57 | } |