blob: 9ee8239455451ae72478b7ab6b38800979f69b9f [file] [log] [blame]
Selene Huang31ab4042020-04-29 04:22:39 -07001//
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
17cc_test {
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000018 name: "VtsAidlKeyMintV1_0TargetTest",
Selene Huang31ab4042020-04-29 04:22:39 -070019 defaults: [
20 "VtsHalTargetTestDefaults",
21 "use_libaidlvintf_gtest_helper_static",
22 ],
23 srcs: [
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000024 "keyMint1Test.cpp",
Selene Huang31ab4042020-04-29 04:22:39 -070025 "VerificationTokenTest.cpp",
26 ],
27 shared_libs: [
28 "libbinder",
29 "libcrypto",
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000030 "libkeymint1",
31 "libkeymintSupport",
Selene Huang31ab4042020-04-29 04:22:39 -070032 ],
33 static_libs: [
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000034 "android.hardware.keymint-cpp",
35 "libcppbor",
36 "libkeyMint1VtsTestUtil",
Selene Huang31ab4042020-04-29 04:22:39 -070037 ],
38 test_suites: [
39 "general-tests",
40 "vts",
41 ],
42}
43
44cc_test_library {
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000045 name: "libkeyMint1VtsTestUtil",
Selene Huang31ab4042020-04-29 04:22:39 -070046 defaults: [
47 "VtsHalTargetTestDefaults",
48 "use_libaidlvintf_gtest_helper_static",
49 ],
50 srcs: [
51 "KeyMintAidlTestBase.cpp",
52 ],
53 export_include_dirs: [
54 ".",
55 ],
56 shared_libs: [
57 "libbinder",
58 "libcrypto",
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000059 "libkeymint1",
60 "libkeymintSupport",
Selene Huang31ab4042020-04-29 04:22:39 -070061 ],
62 static_libs: [
Orion Hodson1ffcdeb2020-12-11 10:45:43 +000063 "android.hardware.keymint-cpp",
Selene Huang31ab4042020-04-29 04:22:39 -070064 "libcppbor",
65 ],
66}