blob: 2b7db79c3ffe31ece3c50c50c65341d223418222 [file] [log] [blame]
Dan Willemsen3e963f92018-10-31 10:32:32 -07001//
2// Copyright (C) 2015 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: "gatekeeperd",
19 cflags: [
20 "-Wall",
21 "-Wextra",
22 "-Werror",
23 "-Wunused",
24 ],
25 srcs: [
26 "SoftGateKeeperDevice.cpp",
27 "IGateKeeperService.cpp",
28 "gatekeeperd.cpp",
29 ],
30
31 shared_libs: [
32 "libbinder",
33 "libgatekeeper",
David Anderson97400bd2019-02-15 15:59:39 -080034 "libgsi",
Dan Willemsen3e963f92018-10-31 10:32:32 -070035 "liblog",
36 "libhardware",
37 "libbase",
38 "libutils",
39 "libcrypto",
40 "libkeystore_aidl",
41 "libkeystore_binder",
42 "libhidlbase",
43 "libhidltransport",
44 "libhwbinder",
45 "android.hardware.gatekeeper@1.0",
46 ],
47
48 static_libs: ["libscrypt_static"],
49 include_dirs: ["external/scrypt/lib/crypto"],
50 init_rc: ["gatekeeperd.rc"],
51}