blob: bdd0ca89ae7663e5174b83aab3740eab76cf8796 [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
17cc_library {
18 name: "libkeymaster4_1support",
19 vendor_available: true,
20 cflags: [
21 "-Wall",
22 "-Wextra",
23 "-Werror",
24 ],
Shawn Willdenb26a2252020-01-15 19:09:50 -070025 srcs: [
26 "attestation_record.cpp",
Shawn Willden3d035b92020-01-16 13:07:36 -070027 "Keymaster.cpp",
28 "Keymaster3.cpp",
29 "Keymaster4.cpp",
Shawn Willdenb26a2252020-01-15 19:09:50 -070030 ],
Shawn Willden94ad8912019-09-09 02:13:58 -060031 export_include_dirs: ["include"],
32 shared_libs: [
33 "android.hardware.keymaster@3.0",
34 "android.hardware.keymaster@4.0",
35 "android.hardware.keymaster@4.1",
Shawn Willdenb26a2252020-01-15 19:09:50 -070036 "libbase",
37 "libcrypto",
38 "libhidlbase",
Shawn Willden94ad8912019-09-09 02:13:58 -060039 "libkeymaster4support",
Shawn Willden3d035b92020-01-16 13:07:36 -070040 "libutils",
41 ],
42 export_shared_lib_headers: [
43 "android.hardware.keymaster@4.1",
44 "libkeymaster4support",
Shawn Willdenb26a2252020-01-15 19:09:50 -070045 ],
Shawn Willden94ad8912019-09-09 02:13:58 -060046}