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 | 6024d16 | 2017-04-17 18:58:12 +0100 | [diff] [blame^] | 17 | subdirs = ["tests"] |
| 18 | |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 19 | cc_defaults { |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 20 | name: "esed_defaults", |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 21 | proprietary: true, |
| 22 | cflags: [ |
| 23 | "-pedantic", |
| 24 | "-Wall", |
| 25 | "-Wextra", |
| 26 | "-Werror", |
| 27 | ], |
| 28 | host_supported: false, |
| 29 | target: { |
| 30 | darwin: { |
| 31 | enabled: false, |
| 32 | }, |
| 33 | }, |
| 34 | } |
| 35 | |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 36 | cc_binary { |
| 37 | name: "esed", |
| 38 | srcs: [ |
| 39 | "esed.cpp", |
Andrew Scull | 6024d16 | 2017-04-17 18:58:12 +0100 | [diff] [blame^] | 40 | "Weaver.cpp" |
Andrew Scull | 1739842 | 2017-03-01 14:43:39 +0000 | [diff] [blame] | 41 | ], |
| 42 | init_rc = ["esed.rc"], |
| 43 | defaults: ["esed_defaults"], |
| 44 | shared_libs: [ |
Andrew Scull | 6024d16 | 2017-04-17 18:58:12 +0100 | [diff] [blame^] | 45 | "android.hardware.weaver@1.0", |
Andrew Scull | e416c0e | 2017-04-16 10:38:33 +0100 | [diff] [blame] | 46 | "libbase", |
| 47 | "libese_cpp_nxp_pn80t_nq_nci", |
Andrew Scull | 6024d16 | 2017-04-17 18:58:12 +0100 | [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 | } |