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