| Dan Willemsen | 3e963f9 | 2018-10-31 10:32:32 -0700 | [diff] [blame] | 1 | // | 
|  | 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 |  | 
|  | 17 | cc_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", | 
|  | 34 | "liblog", | 
|  | 35 | "libhardware", | 
|  | 36 | "libbase", | 
|  | 37 | "libutils", | 
|  | 38 | "libcrypto", | 
|  | 39 | "libkeystore_aidl", | 
|  | 40 | "libkeystore_binder", | 
|  | 41 | "libhidlbase", | 
|  | 42 | "libhidltransport", | 
|  | 43 | "libhwbinder", | 
|  | 44 | "android.hardware.gatekeeper@1.0", | 
|  | 45 | ], | 
|  | 46 |  | 
|  | 47 | static_libs: ["libscrypt_static"], | 
|  | 48 | include_dirs: ["external/scrypt/lib/crypto"], | 
|  | 49 | init_rc: ["gatekeeperd.rc"], | 
|  | 50 | } |