blob: eedd3251bc18e37855f18e48486af67be2e48e85 [file] [log] [blame]
Chirag Pathak8960aae2021-01-25 21:37:06 +00001//
2// Copyright (C) 2020 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
Chirag Pathak8960aae2021-01-25 21:37:06 +000027cc_test {
28 name: "VtsAidlSharedSecretTargetTest",
29 defaults: [
30 "VtsHalTargetTestDefaults",
David Drysdale49255342021-11-22 14:32:31 +000031 "keymint_use_latest_hal_aidl_ndk_static",
Chirag Pathak8960aae2021-01-25 21:37:06 +000032 "use_libaidlvintf_gtest_helper_static",
33 ],
34 srcs: [
35 "SharedSecretAidlTest.cpp",
36 ],
37 cflags: [
38 "-Wall",
39 "-Wextra",
40 ],
41 shared_libs: [
42 "libbinder_ndk",
43 "libcrypto",
Chirag Pathak8960aae2021-01-25 21:37:06 +000044 ],
45 static_libs: [
Jiyong Park27f77fe2021-07-27 12:16:52 +090046 "android.hardware.security.sharedsecret-V1-ndk",
Chirag Pathakf29ce362021-03-17 18:34:59 +000047 "libkeymint",
Chirag Pathak8960aae2021-01-25 21:37:06 +000048 ],
49 test_suites: [
50 "general-tests",
51 "vts",
52 ],
53}