blob: e25c70d43a0ad6de99798df61293d514d3631a5d [file] [log] [blame]
Ashutosh Joshi6104b272016-10-27 11:06:23 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3genrule {
4 name: "android.hardware.contexthub@1.0_genc++",
5 tools: ["hidl-gen"],
Yifan Hong50183942016-11-28 16:09:37 -08006 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
Ashutosh Joshi6104b272016-10-27 11:06:23 -07007 srcs: [
8 "types.hal",
9 "IContexthub.hal",
10 "IContexthubCallback.hal",
11 ],
12 out: [
13 "android/hardware/contexthub/1.0/types.cpp",
14 "android/hardware/contexthub/1.0/ContexthubAll.cpp",
15 "android/hardware/contexthub/1.0/ContexthubCallbackAll.cpp",
16 ],
17}
18
19genrule {
20 name: "android.hardware.contexthub@1.0_genc++_headers",
21 tools: ["hidl-gen"],
Yifan Hong50183942016-11-28 16:09:37 -080022 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070023 srcs: [
24 "types.hal",
25 "IContexthub.hal",
26 "IContexthubCallback.hal",
27 ],
28 out: [
29 "android/hardware/contexthub/1.0/types.h",
30 "android/hardware/contexthub/1.0/IContexthub.h",
31 "android/hardware/contexthub/1.0/IHwContexthub.h",
Yifan Honga18049a2017-01-11 13:14:59 -080032 "android/hardware/contexthub/1.0/BnHwContexthub.h",
33 "android/hardware/contexthub/1.0/BpHwContexthub.h",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070034 "android/hardware/contexthub/1.0/BsContexthub.h",
35 "android/hardware/contexthub/1.0/IContexthubCallback.h",
36 "android/hardware/contexthub/1.0/IHwContexthubCallback.h",
Yifan Honga18049a2017-01-11 13:14:59 -080037 "android/hardware/contexthub/1.0/BnHwContexthubCallback.h",
38 "android/hardware/contexthub/1.0/BpHwContexthubCallback.h",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070039 "android/hardware/contexthub/1.0/BsContexthubCallback.h",
40 ],
41}
42
43cc_library_shared {
44 name: "android.hardware.contexthub@1.0",
45 generated_sources: ["android.hardware.contexthub@1.0_genc++"],
46 generated_headers: ["android.hardware.contexthub@1.0_genc++_headers"],
47 export_generated_headers: ["android.hardware.contexthub@1.0_genc++_headers"],
48 shared_libs: [
Yifan Hong6b920e42016-11-16 14:17:58 -080049 "libhidlbase",
50 "libhidltransport",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070051 "libhwbinder",
Steven Morelandf8d68ec2016-11-21 16:28:54 -080052 "liblog",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070053 "libutils",
54 "libcutils",
Yifan Hong50183942016-11-28 16:09:37 -080055 "android.hidl.base@1.0",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070056 ],
57 export_shared_lib_headers: [
Yifan Hong6b920e42016-11-16 14:17:58 -080058 "libhidlbase",
59 "libhidltransport",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070060 "libhwbinder",
61 "libutils",
Yifan Hong50183942016-11-28 16:09:37 -080062 "android.hidl.base@1.0",
Ashutosh Joshi6104b272016-10-27 11:06:23 -070063 ],
64}
Zhuoyao Zhange9b43bb2017-02-02 16:55:00 -080065
66genrule {
67 name: "android.hardware.contexthub.vts.driver@1.0_genc++",
68 tools: ["hidl-gen", "vtsc"],
69 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/contexthub/1.0/ $(genDir)/android/hardware/contexthub/1.0/",
70 srcs: [
71 "types.hal",
72 "IContexthub.hal",
73 "IContexthubCallback.hal",
74 ],
75 out: [
76 "android/hardware/contexthub/1.0/types.vts.cpp",
77 "android/hardware/contexthub/1.0/Contexthub.vts.cpp",
78 "android/hardware/contexthub/1.0/ContexthubCallback.vts.cpp",
79 ],
80}
81
82genrule {
83 name: "android.hardware.contexthub.vts.driver@1.0_genc++_headers",
84 tools: ["hidl-gen", "vtsc"],
85 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/contexthub/1.0/ $(genDir)/android/hardware/contexthub/1.0/",
86 srcs: [
87 "types.hal",
88 "IContexthub.hal",
89 "IContexthubCallback.hal",
90 ],
91 out: [
92 "android/hardware/contexthub/1.0/types.vts.h",
93 "android/hardware/contexthub/1.0/Contexthub.vts.h",
94 "android/hardware/contexthub/1.0/ContexthubCallback.vts.h",
95 ],
96}
97
98cc_library_shared {
99 name: "android.hardware.contexthub.vts.driver@1.0",
100 generated_sources: ["android.hardware.contexthub.vts.driver@1.0_genc++"],
101 generated_headers: ["android.hardware.contexthub.vts.driver@1.0_genc++_headers"],
102 export_generated_headers: ["android.hardware.contexthub.vts.driver@1.0_genc++_headers"],
103 shared_libs: [
104 "libhidlbase",
105 "libhidltransport",
106 "libhwbinder",
107 "liblog",
108 "libutils",
109 "libcutils",
110 "libvts_common",
111 "libvts_datatype",
112 "libvts_measurement",
113 "libvts_multidevice_proto",
114 "libcamera_metadata",
115 "libprotobuf-cpp-full",
116 "android.hidl.base@1.0",
117 "android.hardware.contexthub@1.0",
118 ],
119 export_shared_lib_headers: [
120 "libhidlbase",
121 "libhidltransport",
122 "libhwbinder",
123 "libutils",
124 "android.hidl.base@1.0",
125 ],
126}
127
128genrule {
129 name: "android.hardware.contexthub@1.0-vts.profiler_genc++",
130 tools: ["hidl-gen", "vtsc"],
131 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/contexthub/1.0/ $(genDir)/android/hardware/contexthub/1.0/",
132 srcs: [
133 "types.hal",
134 "IContexthub.hal",
135 "IContexthubCallback.hal",
136 ],
137 out: [
138 "android/hardware/contexthub/1.0/types.vts.cpp",
139 "android/hardware/contexthub/1.0/Contexthub.vts.cpp",
140 "android/hardware/contexthub/1.0/ContexthubCallback.vts.cpp",
141 ],
142}
143
144genrule {
145 name: "android.hardware.contexthub@1.0-vts.profiler_genc++_headers",
146 tools: ["hidl-gen", "vtsc"],
147 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/contexthub/1.0/ $(genDir)/android/hardware/contexthub/1.0/",
148 srcs: [
149 "types.hal",
150 "IContexthub.hal",
151 "IContexthubCallback.hal",
152 ],
153 out: [
154 "android/hardware/contexthub/1.0/types.vts.h",
155 "android/hardware/contexthub/1.0/Contexthub.vts.h",
156 "android/hardware/contexthub/1.0/ContexthubCallback.vts.h",
157 ],
158}
159
160cc_library_shared {
161 name: "android.hardware.contexthub@1.0-vts.profiler",
162 generated_sources: ["android.hardware.contexthub@1.0-vts.profiler_genc++"],
163 generated_headers: ["android.hardware.contexthub@1.0-vts.profiler_genc++_headers"],
164 export_generated_headers: ["android.hardware.contexthub@1.0-vts.profiler_genc++_headers"],
165 shared_libs: [
166 "libbase",
167 "libhidlbase",
168 "libhidltransport",
169 "libvts_profiling",
170 "libvts_multidevice_proto",
171 "libprotobuf-cpp-full",
172 "android.hidl.base@1.0",
173 "android.hardware.contexthub@1.0",
174 ],
175}