Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 1 | // Copyright (C) 2024 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | default_team: "trendy_team_trusty", |
| 18 | } |
| 19 | |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 20 | prebuilt_etc { |
| 21 | name: "trusty_test_vm_config", |
| 22 | enabled: false, |
Armelle Laine | bd9358a | 2025-03-03 05:05:47 +0000 | [diff] [blame^] | 23 | installable: false, |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 24 | arch: { |
Armelle Laine | f50811b | 2025-01-23 00:40:04 +0000 | [diff] [blame] | 25 | arm64: { |
| 26 | src: "trusty-test_vm-config-arm64.json", |
| 27 | enabled: true, |
| 28 | }, |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 29 | x86_64: { |
Armelle Laine | f50811b | 2025-01-23 00:40:04 +0000 | [diff] [blame] | 30 | src: "trusty-test_vm-config-x86_64.json", |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 31 | enabled: true, |
| 32 | }, |
| 33 | }, |
| 34 | filename: "trusty-test_vm-config.json", |
| 35 | } |
| 36 | |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 37 | sh_test { |
Armelle Laine | bd9358a | 2025-03-03 05:05:47 +0000 | [diff] [blame^] | 38 | // VTS tests for all Trusted HALs defined |
| 39 | // under hardware/interfaces/security/see |
| 40 | name: "VtsSeeHalTargetTest", |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 41 | src: "trusty-ut-ctrl.sh", |
Armelle Laine | f50811b | 2025-01-23 00:40:04 +0000 | [diff] [blame] | 42 | enabled: false, |
| 43 | arch: { |
| 44 | arm64: { |
| 45 | enabled: true, |
| 46 | }, |
| 47 | x86_64: { |
| 48 | enabled: true, |
| 49 | }, |
| 50 | }, |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 51 | filename_from_src: true, |
| 52 | data: [ |
Armelle Laine | f50811b | 2025-01-23 00:40:04 +0000 | [diff] [blame] | 53 | ":trusty_test_vm_elf", |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 54 | ":trusty_test_vm_config", |
| 55 | "trusty-vm-launcher.sh", |
| 56 | "trusty-wait-ready.sh", |
Armelle Laine | bd9358a | 2025-03-03 05:05:47 +0000 | [diff] [blame^] | 57 | ":trusty-ut-ctrl.system", |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 58 | ], |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 59 | test_config_template: "AndroidTest.xml", |
| 60 | test_suites: [ |
| 61 | "general-tests", |
| 62 | ], |
Armelle Laine | 4c9d64a | 2024-11-20 04:42:35 +0000 | [diff] [blame] | 63 | } |