blob: d2b29660d3df4abb5886745bb3e9ea178716f9b2 [file] [log] [blame]
David Zeuthenc75ac312019-10-28 13:16:45 -04001//
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_binary {
18 name: "android.hardware.identity@1.0-service.example",
19 init_rc: ["android.hardware.identity@1.0-service.example.rc"],
20 vendor: true,
21 relative_install_path: "hw",
22 cflags: [
23 "-Wall",
24 "-Wextra",
25 ],
26 srcs: [
27 "service.cpp",
28 "IdentityCredential.cpp",
29 "IdentityCredentialStore.cpp",
30 "WritableIdentityCredential.cpp",
31 ],
32 shared_libs: [
33 "android.hardware.identity@1.0",
34 "android.hardware.identity-support-lib",
35 "android.hardware.keymaster@4.0",
36 "libcppbor",
37 "libcrypto",
38 "libbase",
39 "libhidlbase",
40 "liblog",
41 "libutils",
42 ],
43}