1 // This file is autogenerated by hidl-gen. Do not edit manually.
3 filegroup {
4 name: "android.hardware.vibrator@1.1_hal",
5 srcs: [
6 "types.hal",
7 "IVibrator.hal",
8 ],
9 }
11 genrule {
12 name: "android.hardware.vibrator@1.1_genc++",
13 tools: ["hidl-gen"],
14 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
15 srcs: [
16 ":android.hardware.vibrator@1.1_hal",
17 ],
18 out: [
19 "android/hardware/vibrator/1.1/types.cpp",
20 "android/hardware/vibrator/1.1/VibratorAll.cpp",
21 ],
22 }
24 genrule {
25 name: "android.hardware.vibrator@1.1_genc++_headers",
26 tools: ["hidl-gen"],
27 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
28 srcs: [
29 ":android.hardware.vibrator@1.1_hal",
30 ],
31 out: [
32 "android/hardware/vibrator/1.1/types.h",
33 "android/hardware/vibrator/1.1/hwtypes.h",
34 "android/hardware/vibrator/1.1/IVibrator.h",
35 "android/hardware/vibrator/1.1/IHwVibrator.h",
36 "android/hardware/vibrator/1.1/BnHwVibrator.h",
37 "android/hardware/vibrator/1.1/BpHwVibrator.h",
38 "android/hardware/vibrator/1.1/BsVibrator.h",
39 ],
40 }
42 cc_library {
43 name: "android.hardware.vibrator@1.1",
44 defaults: ["hidl-module-defaults"],
45 generated_sources: ["android.hardware.vibrator@1.1_genc++"],
46 generated_headers: ["android.hardware.vibrator@1.1_genc++_headers"],
47 export_generated_headers: ["android.hardware.vibrator@1.1_genc++_headers"],
48 vendor_available: true,
49 vndk: {
50 enabled: true,
51 },
52 shared_libs: [
53 "libhidlbase",
54 "libhidltransport",
55 "libhwbinder",
56 "liblog",
57 "libutils",
58 "libcutils",
59 "android.hardware.vibrator@1.0",
60 ],
61 export_shared_lib_headers: [
62 "libhidlbase",
63 "libhidltransport",
64 "libhwbinder",
65 "libutils",
66 "android.hardware.vibrator@1.0",
67 ],
68 }
70 genrule {
71 name: "android.hardware.vibrator-V1.1-java_gen_java",
72 tools: ["hidl-gen"],
73 cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
74 srcs: [
75 ":android.hardware.vibrator@1.1_hal",
76 ],
77 out: [
78 "android/hardware/vibrator/V1_1/Effect_1_1.java",
79 "android/hardware/vibrator/V1_1/IVibrator.java",
80 ],
81 }
83 java_library {
84 name: "android.hardware.vibrator-V1.1-java",
85 no_framework_libs: true,
86 defaults: ["hidl-java-module-defaults"],
87 srcs: [":android.hardware.vibrator-V1.1-java_gen_java"],
88 libs: [
89 "hwbinder",
90 "android.hardware.vibrator-V1.0-java",
91 "android.hidl.base-V1.0-java",
92 ]
93 }
95 genrule {
96 name: "android.hardware.vibrator-V1.1-java-constants_gen_java",
97 tools: ["hidl-gen"],
98 cmd: "$(location hidl-gen) -o $(genDir) -Ljava-constants -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
99 srcs: [
100 ":android.hardware.vibrator@1.1_hal",
101 ],
102 out: [
103 "android/hardware/vibrator/V1_1/Constants.java",
104 ],
105 }
107 java_library {
108 name: "android.hardware.vibrator-V1.1-java-constants",
109 no_framework_libs: true,
110 defaults: ["hidl-java-module-defaults"],
111 srcs: [":android.hardware.vibrator-V1.1-java-constants_gen_java"],
112 }
114 genrule {
115 name: "android.hardware.vibrator@1.1-adapter-helper_genc++",
116 tools: ["hidl-gen"],
117 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
118 srcs: [
119 ":android.hardware.vibrator@1.1_hal",
120 ],
121 out: [
122 "android/hardware/vibrator/1.1/AVibrator.cpp",
123 ],
124 }
126 genrule {
127 name: "android.hardware.vibrator@1.1-adapter-helper_genc++_headers",
128 tools: ["hidl-gen"],
129 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
130 srcs: [
131 ":android.hardware.vibrator@1.1_hal",
132 ],
133 out: [
134 "android/hardware/vibrator/1.1/AVibrator.h",
135 ],
136 }
138 cc_library {
139 name: "android.hardware.vibrator@1.1-adapter-helper",
140 defaults: ["hidl-module-defaults"],
141 generated_sources: ["android.hardware.vibrator@1.1-adapter-helper_genc++"],
142 generated_headers: ["android.hardware.vibrator@1.1-adapter-helper_genc++_headers"],
143 export_generated_headers: ["android.hardware.vibrator@1.1-adapter-helper_genc++_headers"],
144 vendor_available: true,
145 shared_libs: [
146 "libhidlbase",
147 "libhidltransport",
148 "libhwbinder",
149 "liblog",
150 "libutils",
151 "libcutils",
152 "libhidladapter",
153 "android.hardware.vibrator@1.0",
154 "android.hardware.vibrator@1.1",
155 "android.hardware.vibrator@1.0-adapter-helper",
156 "android.hidl.base@1.0-adapter-helper",
157 ],
158 export_shared_lib_headers: [
159 "libhidlbase",
160 "libhidltransport",
161 "libhwbinder",
162 "libutils",
163 "libhidladapter",
164 "android.hardware.vibrator@1.0",
165 "android.hardware.vibrator@1.1",
166 "android.hardware.vibrator@1.0-adapter-helper",
167 "android.hidl.base@1.0-adapter-helper",
168 ],
169 }
171 genrule {
172 name: "android.hardware.vibrator@1.1-adapter_genc++",
173 tools: ["hidl-gen"],
174 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
175 out: ["main.cpp"]
176 }
178 cc_test {
179 name: "android.hardware.vibrator@1.1-adapter",
180 defaults: ["hidl-module-defaults"],
181 shared_libs: [
182 "libhidladapter",
183 "libhidlbase",
184 "libhidltransport",
185 "libutils",
186 "android.hardware.vibrator@1.0",
187 "android.hardware.vibrator@1.1",
188 "android.hardware.vibrator@1.1-adapter-helper",
189 ],
190 generated_sources: ["android.hardware.vibrator@1.1-adapter_genc++"],
191 }