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 "assets/bcc.dat", 49 ], 50 device_common_data: [ 51 ":MicrodroidTestApp", 52 ":test_avf_debug_policy_with_ramdump", 53 ":test_avf_debug_policy_without_ramdump", 54 ":test_avf_debug_policy_with_adb", 55 ":test_avf_debug_policy_without_adb", 56 ], 57 device_first_data: [ 58 ":pvmfw_test", 59 ], 60 data_device_bins_first: ["dtc_static"], 61} 62