Yifan Hong | 00f4a39 | 2016-11-16 12:35:58 -0800 | [diff] [blame] | 1 | // Copyright (C) 2016 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 | subdirs = [ |
Steven Moreland | 2ef31d8 | 2016-12-21 14:38:23 -0800 | [diff] [blame^] | 16 | "base/1.0", |
Martijn Coenen | 3079100 | 2016-12-01 15:40:46 +0100 | [diff] [blame] | 17 | "manager/1.0", |
| 18 | "memory/1.0", |
| 19 | "memory/1.0/default", |
Steven Moreland | 2ef31d8 | 2016-12-21 14:38:23 -0800 | [diff] [blame^] | 20 | "token/1.0", |
Yifan Hong | 00f4a39 | 2016-11-16 12:35:58 -0800 | [diff] [blame] | 21 | ] |
| 22 | |
| 23 | cc_library_shared { |
| 24 | name: "libhidltransport", |
| 25 | shared_libs: [ |
| 26 | "libbase", |
| 27 | "liblog", |
| 28 | "libutils", |
| 29 | "libhidlbase", |
| 30 | "libhwbinder", |
| 31 | "libcutils", |
| 32 | ], |
| 33 | export_shared_lib_headers: [ |
| 34 | "libbase", |
| 35 | "libutils", |
| 36 | "libhidlbase", |
| 37 | ], |
| 38 | |
| 39 | export_include_dirs: ["include"], |
| 40 | |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 41 | generated_sources: [ |
| 42 | "android.hidl.manager@1.0_genc++", |
| 43 | "android.hidl.base@1.0_genc++" |
| 44 | ], |
| 45 | generated_headers: [ |
| 46 | "android.hidl.manager@1.0_genc++_headers", |
| 47 | "android.hidl.base@1.0_genc++_headers" |
| 48 | ], |
| 49 | export_generated_headers: [ |
| 50 | "android.hidl.manager@1.0_genc++_headers", |
| 51 | "android.hidl.base@1.0_genc++_headers" |
| 52 | ], |
Yifan Hong | 00f4a39 | 2016-11-16 12:35:58 -0800 | [diff] [blame] | 53 | |
| 54 | srcs: [ |
| 55 | "HidlBinderSupport.cpp", |
Yifan Hong | 6bf733e | 2016-12-07 14:42:02 -0800 | [diff] [blame] | 56 | "HidlPassthroughSupport.cpp", |
Yifan Hong | 00f4a39 | 2016-11-16 12:35:58 -0800 | [diff] [blame] | 57 | "ServiceManagement.cpp", |
| 58 | "Static.cpp" |
| 59 | ], |
| 60 | |
| 61 | product_variables: { |
| 62 | debuggable: { |
| 63 | cflags: ["-DLIBHIDL_TARGET_DEBUGGABLE"], |
| 64 | }, |
| 65 | }, |
| 66 | } |