Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 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 | |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 17 | cc_defaults { |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 18 | name: "esed_defaults", |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 19 | proprietary: true, |
| 20 | cflags: [ |
| 21 | "-pedantic", |
| 22 | "-Wall", |
| 23 | "-Wextra", |
| 24 | "-Werror", |
| 25 | ], |
| 26 | host_supported: false, |
| 27 | target: { |
| 28 | darwin: { |
| 29 | enabled: false, |
| 30 | }, |
| 31 | }, |
| 32 | } |
| 33 | |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 34 | cc_binary { |
| 35 | name: "esed", |
| 36 | srcs: [ |
| 37 | "esed.cpp", |
Will Drewry | e47ba83 | 2017-04-18 17:08:09 -0500 | [diff] [blame] | 38 | "Weaver.cpp", |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 39 | ], |
| 40 | init_rc = ["esed.rc"], |
| 41 | defaults: ["esed_defaults"], |
| 42 | shared_libs: [ |
Andrew Scull | 6024d16 | 2017-04-17 18:58:12 +0100 | [diff] [blame] | 43 | "android.hardware.weaver@1.0", |
Yi Kong | 3eca2f2 | 2017-05-09 10:25:40 -0700 | [diff] [blame] | 44 | "libese", |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 45 | "libbase", |
Will Drewry | e47ba83 | 2017-04-18 17:08:09 -0500 | [diff] [blame] | 46 | "libese-app-boot", |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 47 | "libese_cpp_nxp_pn80t_nq_nci", |
Will Drewry | e47ba83 | 2017-04-18 17:08:09 -0500 | [diff] [blame] | 48 | "libese-app-weaver", |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 49 | "libhidlbase", |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 50 | "libhidltransport", |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 51 | "libhwbinder", |
| 52 | "liblog", |
| 53 | "libutils", |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 54 | ], |
| 55 | } |