blob: 9055c5e0eebf84e73e2f9c1cde5dc7a455555c84 [file] [log] [blame]
Prashant Malanica45b2d2016-08-30 17:33:21 -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.vibrator@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IVibrator.hal",
8 ],
9}
10
Prashant Malanica45b2d2016-08-30 17:33:21 -070011genrule {
12 name: "android.hardware.vibrator@1.0_genc++",
Colin Crossb785f5b2016-11-04 15:02:42 -070013 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070014 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
Prashant Malanica45b2d2016-08-30 17:33:21 -070015 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080016 ":android.hardware.vibrator@1.0_hal",
Prashant Malanica45b2d2016-08-30 17:33:21 -070017 ],
18 out: [
19 "android/hardware/vibrator/1.0/types.cpp",
20 "android/hardware/vibrator/1.0/VibratorAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.vibrator@1.0_genc++_headers",
Colin Crossb785f5b2016-11-04 15:02:42 -070026 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070027 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
Prashant Malanica45b2d2016-08-30 17:33:21 -070028 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080029 ":android.hardware.vibrator@1.0_hal",
Prashant Malanica45b2d2016-08-30 17:33:21 -070030 ],
31 out: [
32 "android/hardware/vibrator/1.0/types.h",
Steven Moreland561b6022017-03-27 11:48:14 -070033 "android/hardware/vibrator/1.0/hwtypes.h",
Prashant Malanica45b2d2016-08-30 17:33:21 -070034 "android/hardware/vibrator/1.0/IVibrator.h",
35 "android/hardware/vibrator/1.0/IHwVibrator.h",
Yifan Honga18049a2017-01-11 13:14:59 -080036 "android/hardware/vibrator/1.0/BnHwVibrator.h",
37 "android/hardware/vibrator/1.0/BpHwVibrator.h",
Prashant Malanica45b2d2016-08-30 17:33:21 -070038 "android/hardware/vibrator/1.0/BsVibrator.h",
39 ],
40}
41
Steven Morelanddfd82872017-08-10 15:15:40 -070042cc_library {
Prashant Malanica45b2d2016-08-30 17:33:21 -070043 name: "android.hardware.vibrator@1.0",
Steven Moreland76cfb842017-05-19 15:52:22 -070044 defaults: ["hidl-module-defaults"],
Prashant Malanica45b2d2016-08-30 17:33:21 -070045 generated_sources: ["android.hardware.vibrator@1.0_genc++"],
46 generated_headers: ["android.hardware.vibrator@1.0_genc++_headers"],
47 export_generated_headers: ["android.hardware.vibrator@1.0_genc++_headers"],
Steven Moreland3b36a832017-04-11 09:58:03 -070048 vendor_available: true,
Steven Morelanddfd82872017-08-10 15:15:40 -070049 vndk: {
50 enabled: true,
51 },
Prashant Malanica45b2d2016-08-30 17:33:21 -070052 shared_libs: [
Yifan Hong6b920e42016-11-16 14:17:58 -080053 "libhidlbase",
54 "libhidltransport",
Prashant Malanica45b2d2016-08-30 17:33:21 -070055 "libhwbinder",
Steven Morelandf8d68ec2016-11-21 16:28:54 -080056 "liblog",
Prashant Malanica45b2d2016-08-30 17:33:21 -070057 "libutils",
58 "libcutils",
59 ],
Steven Morelandfcd74eb2016-11-02 10:23:49 -070060 export_shared_lib_headers: [
Yifan Hong6b920e42016-11-16 14:17:58 -080061 "libhidlbase",
62 "libhidltransport",
Steven Morelandfcd74eb2016-11-02 10:23:49 -070063 "libhwbinder",
64 "libutils",
Steven Moreland69727772016-10-25 15:45:19 -070065 ],
Prashant Malanica45b2d2016-08-30 17:33:21 -070066}
Steven Moreland26a0bb22017-09-22 14:10:47 -070067
68genrule {
Steven Morelandc3e80fa2017-10-10 11:05:20 -070069 name: "android.hardware.vibrator-V1.0-java_gen_java",
70 tools: ["hidl-gen"],
71 cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
72 srcs: [
73 ":android.hardware.vibrator@1.0_hal",
74 ],
75 out: [
76 "android/hardware/vibrator/V1_0/Effect.java",
77 "android/hardware/vibrator/V1_0/EffectStrength.java",
78 "android/hardware/vibrator/V1_0/Status.java",
79 "android/hardware/vibrator/V1_0/IVibrator.java",
80 ],
81}
82
83java_library {
84 name: "android.hardware.vibrator-V1.0-java",
85 no_framework_libs: true,
86 defaults: ["hidl-java-module-defaults"],
87 srcs: [":android.hardware.vibrator-V1.0-java_gen_java"],
88 libs: [
89 "hwbinder",
90 "android.hidl.base-V1.0-java",
91 ]
92}
93
94genrule {
95 name: "android.hardware.vibrator-V1.0-java-constants_gen_java",
96 tools: ["hidl-gen"],
97 cmd: "$(location hidl-gen) -o $(genDir) -Ljava-constants -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
98 srcs: [
99 ":android.hardware.vibrator@1.0_hal",
100 ],
101 out: [
102 "android/hardware/vibrator/V1_0/Constants.java",
103 ],
104}
105
106java_library {
107 name: "android.hardware.vibrator-V1.0-java-constants",
108 no_framework_libs: true,
109 defaults: ["hidl-java-module-defaults"],
110 srcs: [":android.hardware.vibrator-V1.0-java-constants_gen_java"],
111}
112
113genrule {
Steven Moreland26a0bb22017-09-22 14:10:47 -0700114 name: "android.hardware.vibrator@1.0-adapter-helper_genc++",
115 tools: ["hidl-gen"],
116 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
117 srcs: [
118 ":android.hardware.vibrator@1.0_hal",
119 ],
120 out: [
121 "android/hardware/vibrator/1.0/AVibrator.cpp",
122 ],
123}
124
125genrule {
126 name: "android.hardware.vibrator@1.0-adapter-helper_genc++_headers",
127 tools: ["hidl-gen"],
128 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
129 srcs: [
130 ":android.hardware.vibrator@1.0_hal",
131 ],
132 out: [
133 "android/hardware/vibrator/1.0/AVibrator.h",
134 ],
135}
136
Steven Moreland26a0bb22017-09-22 14:10:47 -0700137cc_library {
138 name: "android.hardware.vibrator@1.0-adapter-helper",
139 defaults: ["hidl-module-defaults"],
140 generated_sources: ["android.hardware.vibrator@1.0-adapter-helper_genc++"],
141 generated_headers: ["android.hardware.vibrator@1.0-adapter-helper_genc++_headers"],
142 export_generated_headers: ["android.hardware.vibrator@1.0-adapter-helper_genc++_headers"],
143 vendor_available: true,
144 shared_libs: [
145 "libhidlbase",
146 "libhidltransport",
147 "libhwbinder",
148 "liblog",
149 "libutils",
150 "libcutils",
151 "libhidladapter",
152 "android.hardware.vibrator@1.0",
153 "android.hidl.base@1.0-adapter-helper",
154 ],
155 export_shared_lib_headers: [
156 "libhidlbase",
157 "libhidltransport",
158 "libhwbinder",
159 "libutils",
160 "libhidladapter",
161 "android.hardware.vibrator@1.0",
162 "android.hidl.base@1.0-adapter-helper",
163 ],
164}
165
166genrule {
167 name: "android.hardware.vibrator@1.0-adapter_genc++",
168 tools: ["hidl-gen"],
169 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700170 out: ["main.cpp"]
171}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700172
173cc_test {
174 name: "android.hardware.vibrator@1.0-adapter",
Steven Moreland527fd762017-10-04 12:47:03 -0700175 defaults: ["hidl-module-defaults"],
Steven Moreland26a0bb22017-09-22 14:10:47 -0700176 shared_libs: [
177 "libhidladapter",
178 "libhidlbase",
179 "libhidltransport",
180 "libutils",
181 "android.hardware.vibrator@1.0",
182 "android.hardware.vibrator@1.0-adapter-helper",
183 ],
184 generated_sources: ["android.hardware.vibrator@1.0-adapter_genc++"],
185}