1// 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 ], 25 srcs: [ 26 "attestation_record.cpp", 27 "Keymaster.cpp", 28 "Keymaster3.cpp", 29 "Keymaster4.cpp", 30 ], 31 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", 36 "libbase", 37 "libcrypto", 38 "libhidlbase", 39 "libkeymaster4support", 40 "libutils", 41 ], 42 export_shared_lib_headers: [ 43 "android.hardware.keymaster@4.1", 44 "libkeymaster4support", 45 ], 46} 47