Jaewan Kim | 329c710 | 2023-08-30 16:50:55 +0900 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | genrule_defaults { |
| 6 | name: "test_avf_dts_to_dtb", |
| 7 | tools: ["dtc"], |
| 8 | cmd: "$(location dtc) -I dts -O dtb $(in) -o $(out)", |
| 9 | } |
| 10 | |
| 11 | genrule { |
| 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 | |
| 18 | genrule { |
| 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 | |
| 25 | java_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 | } |