Steven Moreland | c5c1937 | 2017-05-05 17:16:10 -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 | // WARNING: Everything listed here will be built on ALL platforms, |
| 18 | // including x86, the emulator, and the SDK. Modules must be uniquely |
| 19 | // named (liblights.panda), and must build everywhere, or limit themselves |
| 20 | // to only building on ARM if they include assembly. Individual makefiles |
| 21 | // are responsible for having their own logic, for fine-grained control. |
| 22 | |
| 23 | cc_library_shared { |
| 24 | name: "gatekeeper.trusty", |
| 25 | |
| 26 | relative_install_path: "hw", |
| 27 | |
| 28 | srcs: [ |
| 29 | "module.cpp", |
| 30 | "trusty_gatekeeper_ipc.c", |
| 31 | "trusty_gatekeeper.cpp", |
| 32 | ], |
| 33 | |
| 34 | cflags: [ |
| 35 | "-fvisibility=hidden", |
| 36 | "-Wall", |
| 37 | "-Werror", |
| 38 | ], |
| 39 | |
| 40 | shared_libs: [ |
| 41 | "libgatekeeper", |
| 42 | "liblog", |
| 43 | "libcutils", |
| 44 | "libtrusty", |
| 45 | ], |
| 46 | } |