blob: 4f97ff6f09b16a425dd9f81c8a24a4782e87aa9e [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 Hong2cd440c2016-11-23 11:30:36 -080019 "base/1.0"
Yifan Hong00f4a392016-11-16 12:35:58 -080020]
21
22cc_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 Hong2cd440c2016-11-23 11:30:36 -080040 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 Hong00f4a392016-11-16 12:35:58 -080052
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}