blob: cd12319be2d5c78a181940b4a1c648fa8242156a [file] [log] [blame]
Shawn Willden1e50c672017-11-10 11:49:02 -07001//
2// Copyright (C) 2017 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 Willden1e50c672017-11-10 11:49:02 -070027cc_test {
28 name: "VtsHalKeymasterV4_0TargetTest",
29 defaults: ["VtsHalTargetTestDefaults"],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080030 tidy_timeout_srcs: [
31 "keymaster_hidl_hal_test.cpp",
32 ],
Shawn Willden1e50c672017-11-10 11:49:02 -070033 srcs: [
Tri Vo06843cb2023-05-08 13:23:08 -040034 "BootloaderStateTest.cpp",
Shawn Willden3d943322018-01-02 18:55:47 -070035 "HmacKeySharingTest.cpp",
Shawn Willden4fbc1d52018-01-05 09:16:58 -070036 "VerificationTokenTest.cpp",
Shawn Willden1e50c672017-11-10 11:49:02 -070037 "keymaster_hidl_hal_test.cpp",
38 ],
39 static_libs: [
40 "android.hardware.keymaster@4.0",
Tri Vo06843cb2023-05-08 13:23:08 -040041 "libavb_user",
42 "libavb",
Colin Cross263d2df2019-09-18 11:07:09 -070043 "libcrypto_static",
Tri Vo06843cb2023-05-08 13:23:08 -040044 "libfs_mgr",
Shawn Willden1e50c672017-11-10 11:49:02 -070045 "libkeymaster4support",
Shawn Willden3f7c80a2020-01-15 19:09:50 -070046 "libkeymaster4vtstest",
Shawn Willden1e50c672017-11-10 11:49:02 -070047 ],
Shawn Willdenfcc4c5c2019-11-26 09:00:08 -070048 test_suites: [
49 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070050 "vts",
Shawn Willdenfcc4c5c2019-11-26 09:00:08 -070051 ],
David Drysdale2bd0d432021-11-30 13:27:15 +000052 sanitize: {
53 cfi: false,
54 },
55
Shawn Willden1e50c672017-11-10 11:49:02 -070056}
Shawn Willden3f7c80a2020-01-15 19:09:50 -070057
58cc_test_library {
59 name: "libkeymaster4vtstest",
60 defaults: ["VtsHalTargetTestDefaults"],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080061 tidy_timeout_srcs: [
62 "KeymasterHidlTest.cpp",
63 ],
Shawn Willden3f7c80a2020-01-15 19:09:50 -070064 srcs: [
65 "KeymasterHidlTest.cpp",
66 ],
67 export_include_dirs: [
68 ".",
69 ],
70 static_libs: [
71 "android.hardware.keymaster@4.0",
Tri Vo06843cb2023-05-08 13:23:08 -040072 "libcrypto_static",
Shawn Willden3f7c80a2020-01-15 19:09:50 -070073 "libkeymaster4support",
74 ],
75}