blob: e8f7103a9ef74fd397b7191012178059dc3a7174 [file] [log] [blame]
Ashutosh Joshi6104b272016-10-27 11:06:23 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
Tri Voce608be2017-02-07 19:13:25 -08003filegroup {
4 name: "android.hardware.contexthub@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IContexthub.hal",
8 "IContexthubCallback.hal",
9 ],
10}
11
Ashutosh Joshi6104b272016-10-27 11:06:23 -070012genrule {
13 name: "android.hardware.contexthub@1.0_genc++",
14 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070015 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070016 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080017 ":android.hardware.contexthub@1.0_hal",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070018 ],
19 out: [
20 "android/hardware/contexthub/1.0/types.cpp",
21 "android/hardware/contexthub/1.0/ContexthubAll.cpp",
22 "android/hardware/contexthub/1.0/ContexthubCallbackAll.cpp",
23 ],
24}
25
26genrule {
27 name: "android.hardware.contexthub@1.0_genc++_headers",
28 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070029 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070030 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080031 ":android.hardware.contexthub@1.0_hal",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070032 ],
33 out: [
34 "android/hardware/contexthub/1.0/types.h",
Steven Moreland561b6022017-03-27 11:48:14 -070035 "android/hardware/contexthub/1.0/hwtypes.h",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070036 "android/hardware/contexthub/1.0/IContexthub.h",
37 "android/hardware/contexthub/1.0/IHwContexthub.h",
Yifan Honga18049a2017-01-11 13:14:59 -080038 "android/hardware/contexthub/1.0/BnHwContexthub.h",
39 "android/hardware/contexthub/1.0/BpHwContexthub.h",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070040 "android/hardware/contexthub/1.0/BsContexthub.h",
41 "android/hardware/contexthub/1.0/IContexthubCallback.h",
42 "android/hardware/contexthub/1.0/IHwContexthubCallback.h",
Yifan Honga18049a2017-01-11 13:14:59 -080043 "android/hardware/contexthub/1.0/BnHwContexthubCallback.h",
44 "android/hardware/contexthub/1.0/BpHwContexthubCallback.h",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070045 "android/hardware/contexthub/1.0/BsContexthubCallback.h",
46 ],
47}
48
Steven Morelanddfd82872017-08-10 15:15:40 -070049cc_library {
Ashutosh Joshi6104b272016-10-27 11:06:23 -070050 name: "android.hardware.contexthub@1.0",
Steven Moreland76cfb842017-05-19 15:52:22 -070051 defaults: ["hidl-module-defaults"],
Ashutosh Joshi6104b272016-10-27 11:06:23 -070052 generated_sources: ["android.hardware.contexthub@1.0_genc++"],
53 generated_headers: ["android.hardware.contexthub@1.0_genc++_headers"],
54 export_generated_headers: ["android.hardware.contexthub@1.0_genc++_headers"],
Steven Moreland3b36a832017-04-11 09:58:03 -070055 vendor_available: true,
Steven Morelanddfd82872017-08-10 15:15:40 -070056 vndk: {
57 enabled: true,
58 },
Ashutosh Joshi6104b272016-10-27 11:06:23 -070059 shared_libs: [
Yifan Hong6b920e42016-11-16 14:17:58 -080060 "libhidlbase",
61 "libhidltransport",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070062 "libhwbinder",
Steven Morelandf8d68ec2016-11-21 16:28:54 -080063 "liblog",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070064 "libutils",
65 "libcutils",
66 ],
67 export_shared_lib_headers: [
Yifan Hong6b920e42016-11-16 14:17:58 -080068 "libhidlbase",
69 "libhidltransport",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070070 "libhwbinder",
71 "libutils",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070072 ],
73}
Steven Moreland26a0bb22017-09-22 14:10:47 -070074
75genrule {
76 name: "android.hardware.contexthub@1.0-adapter-helper_genc++",
77 tools: ["hidl-gen"],
78 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
79 srcs: [
80 ":android.hardware.contexthub@1.0_hal",
81 ],
82 out: [
83 "android/hardware/contexthub/1.0/AContexthub.cpp",
84 "android/hardware/contexthub/1.0/AContexthubCallback.cpp",
85 ],
86}
87
88genrule {
89 name: "android.hardware.contexthub@1.0-adapter-helper_genc++_headers",
90 tools: ["hidl-gen"],
91 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
92 srcs: [
93 ":android.hardware.contexthub@1.0_hal",
94 ],
95 out: [
96 "android/hardware/contexthub/1.0/AContexthub.h",
97 "android/hardware/contexthub/1.0/AContexthubCallback.h",
98 ],
99}
100
101
102cc_library {
103 name: "android.hardware.contexthub@1.0-adapter-helper",
104 defaults: ["hidl-module-defaults"],
105 generated_sources: ["android.hardware.contexthub@1.0-adapter-helper_genc++"],
106 generated_headers: ["android.hardware.contexthub@1.0-adapter-helper_genc++_headers"],
107 export_generated_headers: ["android.hardware.contexthub@1.0-adapter-helper_genc++_headers"],
108 vendor_available: true,
109 shared_libs: [
110 "libhidlbase",
111 "libhidltransport",
112 "libhwbinder",
113 "liblog",
114 "libutils",
115 "libcutils",
116 "libhidladapter",
117 "android.hardware.contexthub@1.0",
118 "android.hidl.base@1.0-adapter-helper",
119 ],
120 export_shared_lib_headers: [
121 "libhidlbase",
122 "libhidltransport",
123 "libhwbinder",
124 "libutils",
125 "libhidladapter",
126 "android.hardware.contexthub@1.0",
127 "android.hidl.base@1.0-adapter-helper",
128 ],
129}
130
131genrule {
132 name: "android.hardware.contexthub@1.0-adapter_genc++",
133 tools: ["hidl-gen"],
134 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700135 out: ["main.cpp"]
136}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700137
138cc_test {
139 name: "android.hardware.contexthub@1.0-adapter",
Steven Moreland527fd762017-10-04 12:47:03 -0700140 defaults: ["hidl-module-defaults"],
Steven Moreland26a0bb22017-09-22 14:10:47 -0700141 shared_libs: [
142 "libhidladapter",
143 "libhidlbase",
144 "libhidltransport",
145 "libutils",
146 "android.hardware.contexthub@1.0",
147 "android.hardware.contexthub@1.0-adapter-helper",
148 ],
149 generated_sources: ["android.hardware.contexthub@1.0-adapter_genc++"],
150}