Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 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 | |
Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 22 | package { |
| 23 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 24 | } |
| 25 | |
Janis Danisevskis | 7daa66a | 2019-06-06 22:05:41 -0700 | [diff] [blame] | 26 | cc_binary { |
| 27 | name: "android.hardware.gatekeeper@1.0-service.trusty", |
| 28 | defaults: ["hidl_defaults"], |
Hung-ying Tyan | 063a3fa | 2017-07-28 19:09:33 +0800 | [diff] [blame] | 29 | vendor: true, |
Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 30 | relative_install_path: "hw", |
Janis Danisevskis | 7daa66a | 2019-06-06 22:05:41 -0700 | [diff] [blame] | 31 | init_rc: ["android.hardware.gatekeeper@1.0-service.trusty.rc"], |
Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 32 | |
| 33 | srcs: [ |
Janis Danisevskis | 7daa66a | 2019-06-06 22:05:41 -0700 | [diff] [blame] | 34 | "service.cpp", |
Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 35 | "trusty_gatekeeper_ipc.c", |
| 36 | "trusty_gatekeeper.cpp", |
| 37 | ], |
| 38 | |
| 39 | cflags: [ |
| 40 | "-fvisibility=hidden", |
| 41 | "-Wall", |
| 42 | "-Werror", |
| 43 | ], |
| 44 | |
| 45 | shared_libs: [ |
Janis Danisevskis | 7daa66a | 2019-06-06 22:05:41 -0700 | [diff] [blame] | 46 | "android.hardware.gatekeeper@1.0", |
| 47 | "libbase", |
| 48 | "libhidlbase", |
Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 49 | "libgatekeeper", |
Janis Danisevskis | 7daa66a | 2019-06-06 22:05:41 -0700 | [diff] [blame] | 50 | "libutils", |
Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 51 | "liblog", |
| 52 | "libcutils", |
| 53 | "libtrusty", |
| 54 | ], |
Janis Danisevskis | 7daa66a | 2019-06-06 22:05:41 -0700 | [diff] [blame] | 55 | |
| 56 | vintf_fragments: ["android.hardware.gatekeeper@1.0-service.trusty.xml"], |
Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -0700 | [diff] [blame] | 57 | } |