blob: 676e231006cb8025e5b88bbdedeecabfc2849efc [file] [log] [blame]
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
default_team: "trendy_team_trusty",
}
prebuilt_etc {
name: "trusty_test_vm_config",
enabled: false,
installable: false,
arch: {
arm64: {
src: "trusty-test_vm-config-arm64.json",
enabled: true,
},
x86_64: {
src: "trusty-test_vm-config-x86_64.json",
enabled: true,
},
},
filename: "trusty-test_vm-config.json",
}
prebuilt_etc {
name: "trusty_vm_launcher_sh",
enabled: false,
arch: {
arm64: {
enabled: true,
},
},
src: "trusty-vm-launcher.sh",
filename: "trusty-vm-launcher.sh",
}
prebuilt_etc {
name: "trusty_wait_ready_sh",
enabled: false,
arch: {
arm64: {
enabled: true,
},
},
src: "trusty-wait-ready.sh",
filename: "trusty-wait-ready.sh",
}
sh_test {
// VTS tests for all Trusted HALs defined
// under hardware/interfaces/security/see
name: "VtsSeeHalTargetTest",
src: "trusty-ut-ctrl.sh",
enabled: false,
arch: {
arm64: {
enabled: true,
},
x86_64: {
enabled: true,
},
},
filename_from_src: true,
data: [
":trusty_test_vm_elf",
":trusty_test_vm_config",
"trusty-vm-launcher.sh",
"trusty-wait-ready.sh",
":trusty-ut-ctrl.system",
],
test_config_template: "AndroidTest.xml",
test_suites: [
"general-tests",
],
}