blob: 032381abd8b14e6e0b6712615b03571fe1b5c110 [file] [log] [blame]
Yifan Hong00f4a392016-11-16 12:35:58 -08001// 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
15subdirs = [
16 "manager/1.0"
17]
18
19cc_library_shared {
20 name: "libhidltransport",
21 shared_libs: [
22 "libbase",
23 "liblog",
24 "libutils",
25 "libhidlbase",
26 "libhwbinder",
27 "libcutils",
28 ],
29 export_shared_lib_headers: [
30 "libbase",
31 "libutils",
32 "libhidlbase",
33 ],
34
35 export_include_dirs: ["include"],
36
37 generated_sources: ["android.hidl.manager@1.0_genc++"],
38 generated_headers: ["android.hidl.manager@1.0_genc++_headers"],
39 export_generated_headers: ["android.hidl.manager@1.0_genc++_headers"],
40
41 srcs: [
42 "HidlBinderSupport.cpp",
43 "ServiceManagement.cpp",
44 "Static.cpp"
45 ],
46
47 product_variables: {
48 debuggable: {
49 cflags: ["-DLIBHIDL_TARGET_DEBUGGABLE"],
50 },
51 },
52}