blob: 04fc2d3819e0651a6f177e286f0b135cd8795f63 [file] [log] [blame]
Shawn Willden94ad8912019-09-09 02:13:58 -06001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
Bob Badourb224b362021-02-12 20:13:01 -080017package {
Yihan Dong8c111de2024-10-12 08:58:30 +000018 default_team: "trendy_team_android_hardware_backed_security",
Bob Badourb224b362021-02-12 20:13:01 -080019 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "hardware_interfaces_license"
22 // to get the below license kinds:
23 // SPDX-license-identifier-Apache-2.0
24 default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
Shawn Willden94ad8912019-09-09 02:13:58 -060027cc_test {
28 name: "VtsHalKeymasterV4_1TargetTest",
29 defaults: ["VtsHalTargetTestDefaults"],
30 srcs: [
31 "EarlyBootKeyTest.cpp",
Shawn Willden3f7c80a2020-01-15 19:09:50 -070032 "DeviceUniqueAttestationTest.cpp",
33 "Keymaster4_1HidlTest.cpp",
34 "UnlockedDeviceRequiredTest.cpp",
Shawn Willden94ad8912019-09-09 02:13:58 -060035 ],
36 static_libs: [
37 "android.hardware.keymaster@4.0",
38 "android.hardware.keymaster@4.1",
Shawn Willden3f7c80a2020-01-15 19:09:50 -070039 "libcrypto_static",
Shawn Willden94ad8912019-09-09 02:13:58 -060040 "libkeymaster4_1support",
Shawn Willden3f7c80a2020-01-15 19:09:50 -070041 "libkeymaster4support",
42 "libkeymaster4vtstest",
Shawn Willden94ad8912019-09-09 02:13:58 -060043 ],
Shawn Willden3f7c80a2020-01-15 19:09:50 -070044 cflags: [
45 "-Wall",
46 "-O0",
47 ],
48 test_suites: [
49 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070050 "vts",
Shawn Willden3f7c80a2020-01-15 19:09:50 -070051 ],
David Drysdalef3e239f2022-01-19 19:05:07 +000052 sanitize: {
53 cfi: false,
54 },
Shawn Willden94ad8912019-09-09 02:13:58 -060055}