1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "hardware_interfaces_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_interfaces_license"], 8} 9 10rust_test { 11 name: "VtsAidlDiceTargetTest", 12 srcs: [ 13 "dice_test.rs", 14 ], 15 require_root: true, 16 auto_gen_config: true, 17 test_suites: [ 18 "general-tests", 19 "vts", 20 ], 21 22 rustlibs: [ 23 "android.hardware.security.dice-V1-rust", 24 "libanyhow", 25 "libbinder_rs", 26 "libdiced_open_dice_cbor", 27 "libdiced_sample_inputs", 28 "libdiced_utils", 29 "libkeystore2_vintf_rust", 30 ], 31} 32 33rust_test { 34 name: "VtsAidlDiceDemoteTargetTest", 35 srcs: [ 36 "dice_demote_test.rs", 37 ], 38 39 test_config: "VtsAidlDiceDemoteTargetTest.xml", 40 test_suites: [ 41 "general-tests", 42 "vts", 43 ], 44 45 rustlibs: [ 46 "android.hardware.security.dice-V1-rust", 47 "libanyhow", 48 "libbinder_rs", 49 "libdiced_open_dice_cbor", 50 "libdiced_sample_inputs", 51 "libdiced_utils", 52 "libkeystore2_vintf_rust", 53 ], 54} 55