blob: 7ce19714510f0addab99cb4a0a438513d62195c3 [file] [log] [blame]
Michael Wright36a78592017-05-23 20:46:45 +01001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.vibrator@1.1_hal",
5 srcs: [
6 "types.hal",
7 "IVibrator.hal",
8 ],
9}
10
11genrule {
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}
23
24genrule {
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}
41
Tri Vof5d136c2017-08-02 15:19:22 -070042cc_library {
Michael Wright36a78592017-05-23 20:46:45 +010043 name: "android.hardware.vibrator@1.1",
Steven Moreland1fcaf422017-06-16 19:52:49 -070044 defaults: ["hidl-module-defaults"],
Michael Wright36a78592017-05-23 20:46:45 +010045 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,
Justin Yun608d7732017-08-04 14:12:23 +090049 vndk: {
50 enabled: true,
51 },
Michael Wright36a78592017-05-23 20:46:45 +010052 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}
Steven Moreland3788a732017-09-26 10:11:18 -070069
70genrule {
71 name: "android.hardware.vibrator@1.1-adapter-helper_genc++",
72 tools: ["hidl-gen"],
73 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -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/1.1/AVibrator.cpp",
79 ],
80}
81
82genrule {
83 name: "android.hardware.vibrator@1.1-adapter-helper_genc++_headers",
84 tools: ["hidl-gen"],
85 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
86 srcs: [
87 ":android.hardware.vibrator@1.1_hal",
88 ],
89 out: [
90 "android/hardware/vibrator/1.1/AVibrator.h",
91 ],
92}
93
94
95cc_library {
96 name: "android.hardware.vibrator@1.1-adapter-helper",
97 defaults: ["hidl-module-defaults"],
98 generated_sources: ["android.hardware.vibrator@1.1-adapter-helper_genc++"],
99 generated_headers: ["android.hardware.vibrator@1.1-adapter-helper_genc++_headers"],
100 export_generated_headers: ["android.hardware.vibrator@1.1-adapter-helper_genc++_headers"],
101 vendor_available: true,
102 shared_libs: [
103 "libhidlbase",
104 "libhidltransport",
105 "libhwbinder",
106 "liblog",
107 "libutils",
108 "libcutils",
109 "libhidladapter",
110 "android.hardware.vibrator@1.0",
111 "android.hardware.vibrator@1.1",
112 "android.hardware.vibrator@1.0-adapter-helper",
113 "android.hidl.base@1.0-adapter-helper",
114 ],
115 export_shared_lib_headers: [
116 "libhidlbase",
117 "libhidltransport",
118 "libhwbinder",
119 "libutils",
120 "libhidladapter",
121 "android.hardware.vibrator@1.0",
122 "android.hardware.vibrator@1.1",
123 "android.hardware.vibrator@1.0-adapter-helper",
124 "android.hidl.base@1.0-adapter-helper",
125 ],
126}
127
128genrule {
129 name: "android.hardware.vibrator@1.1-adapter_genc++",
130 tools: ["hidl-gen"],
131 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.1",
132 out: ["main.cpp"]
133}
134
135cc_test {
136 name: "android.hardware.vibrator@1.1-adapter",
137 shared_libs: [
138 "libhidladapter",
139 "libhidlbase",
140 "libhidltransport",
141 "libutils",
142 "android.hardware.vibrator@1.0",
143 "android.hardware.vibrator@1.1",
144 "android.hardware.vibrator@1.1-adapter-helper",
145 ],
146 generated_sources: ["android.hardware.vibrator@1.1-adapter_genc++"],
147}