1// Copyright (C) 2015 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// 15 16// WARNING: Everything listed here will be built on ALL platforms, 17// including x86, the emulator, and the SDK. Modules must be uniquely 18// named (liblights.panda), and must build everywhere, or limit themselves 19// to only building on ARM if they include assembly. Individual makefiles 20// are responsible for having their own logic, for fine-grained control. 21 22cc_binary { 23 name: "android.hardware.gatekeeper@1.0-service.trusty", 24 defaults: ["hidl_defaults"], 25 vendor: true, 26 relative_install_path: "hw", 27 init_rc: ["android.hardware.gatekeeper@1.0-service.trusty.rc"], 28 29 srcs: [ 30 "service.cpp", 31 "trusty_gatekeeper_ipc.c", 32 "trusty_gatekeeper.cpp", 33 ], 34 35 cflags: [ 36 "-fvisibility=hidden", 37 "-Wall", 38 "-Werror", 39 ], 40 41 shared_libs: [ 42 "android.hardware.gatekeeper@1.0", 43 "libbase", 44 "libhidlbase", 45 "libgatekeeper", 46 "libutils", 47 "liblog", 48 "libcutils", 49 "libtrusty", 50 ], 51 52 vintf_fragments: ["android.hardware.gatekeeper@1.0-service.trusty.xml"], 53} 54