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