blob: 4018cc064d67ec3f58b6765b78683136395856b9 [file] [log] [blame]
yangbillc6d62982024-06-19 06:32:24 +00001// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 // See: http://go/android-license-faq
17 default_applicable_licenses: [
18 "hardware_interfaces_license",
19 ],
20}
21
22cc_library_shared {
23 name: "android.hardware.keymaster@3.0-impl",
24 proprietary: true,
25 relative_install_path: "hw",
26 srcs: ["KeymasterDevice.cpp"],
27 shared_libs: [
28 "android.hardware.keymaster@3.0",
29 "libcrypto",
30 "libhardware",
31 "libhidlbase",
32 "libkeymaster_portable",
33 "libkeymaster3device",
34 "liblog",
35 "libpuresoftkeymasterdevice",
36 "libsoftkeymasterdevice",
37 "libutils",
38 ],
39}
40
41cc_binary {
42 name: "android.hardware.keymaster@3.0-service",
43 relative_install_path: "hw",
44 proprietary: true,
45 init_rc: ["android.hardware.keymaster@3.0-service.rc"],
46 srcs: ["service.cpp"],
47 shared_libs: [
48 "android.hardware.keymaster@3.0",
49 "libbase",
50 "libcutils",
51 "libdl",
52 "libhardware",
53 "libhidlbase",
54 "liblog",
55 "libutils",
56 ],
57}