summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTri Vo2017-02-07 21:13:25 -0600
committerTri Vo2017-02-07 21:13:28 -0600
commitce608bec74a947ebd9875004dc5dc4594629c440 (patch)
tree74ff1a4436fc0e5cffaaa5fe731bb1089a98f35d /vibrator/1.0
parentbd397ba5e12238e098e9d8379f5008952e7a368b (diff)
downloadplatform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.gz
platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.xz
platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.zip
Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894 Test: mmma hardware/interfaces Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
Diffstat (limited to 'vibrator/1.0')
-rw-r--r--vibrator/1.0/Android.bp111
1 files changed, 8 insertions, 103 deletions
diff --git a/vibrator/1.0/Android.bp b/vibrator/1.0/Android.bp
index e752d387..aeefb5d0 100644
--- a/vibrator/1.0/Android.bp
+++ b/vibrator/1.0/Android.bp
@@ -1,5 +1,13 @@
1// This file is autogenerated by hidl-gen. Do not edit manually. 1// This file is autogenerated by hidl-gen. Do not edit manually.
2 2
3filegroup {
4 name: "android.hardware.vibrator@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IVibrator.hal",
8 ],
9}
10
3genrule { 11genrule {
4 name: "android.hardware.vibrator@1.0_genc++", 12 name: "android.hardware.vibrator@1.0_genc++",
5 tools: ["hidl-gen"], 13 tools: ["hidl-gen"],
@@ -54,106 +62,3 @@ cc_library_shared {
54 "android.hidl.base@1.0", 62 "android.hidl.base@1.0",
55 ], 63 ],
56} 64}
57
58genrule {
59 name: "android.hardware.vibrator.vts.driver@1.0_genc++",
60 tools: ["hidl-gen", "vtsc"],
61 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/vibrator/1.0/ $(genDir)/android/hardware/vibrator/1.0/",
62 srcs: [
63 "types.hal",
64 "IVibrator.hal",
65 ],
66 out: [
67 "android/hardware/vibrator/1.0/types.vts.cpp",
68 "android/hardware/vibrator/1.0/Vibrator.vts.cpp",
69 ],
70}
71
72genrule {
73 name: "android.hardware.vibrator.vts.driver@1.0_genc++_headers",
74 tools: ["hidl-gen", "vtsc"],
75 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/vibrator/1.0/ $(genDir)/android/hardware/vibrator/1.0/",
76 srcs: [
77 "types.hal",
78 "IVibrator.hal",
79 ],
80 out: [
81 "android/hardware/vibrator/1.0/types.vts.h",
82 "android/hardware/vibrator/1.0/Vibrator.vts.h",
83 ],
84}
85
86cc_library_shared {
87 name: "android.hardware.vibrator.vts.driver@1.0",
88 generated_sources: ["android.hardware.vibrator.vts.driver@1.0_genc++"],
89 generated_headers: ["android.hardware.vibrator.vts.driver@1.0_genc++_headers"],
90 export_generated_headers: ["android.hardware.vibrator.vts.driver@1.0_genc++_headers"],
91 shared_libs: [
92 "libhidlbase",
93 "libhidltransport",
94 "libhwbinder",
95 "liblog",
96 "libutils",
97 "libcutils",
98 "libvts_common",
99 "libvts_datatype",
100 "libvts_measurement",
101 "libvts_multidevice_proto",
102 "libcamera_metadata",
103 "libprotobuf-cpp-full",
104 "android.hidl.base@1.0",
105 "android.hardware.vibrator@1.0",
106 ],
107 export_shared_lib_headers: [
108 "libhidlbase",
109 "libhidltransport",
110 "libhwbinder",
111 "libutils",
112 "android.hidl.base@1.0",
113 ],
114}
115
116genrule {
117 name: "android.hardware.vibrator@1.0-vts.profiler_genc++",
118 tools: ["hidl-gen", "vtsc"],
119 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/vibrator/1.0/ $(genDir)/android/hardware/vibrator/1.0/",
120 srcs: [
121 "types.hal",
122 "IVibrator.hal",
123 ],
124 out: [
125 "android/hardware/vibrator/1.0/types.vts.cpp",
126 "android/hardware/vibrator/1.0/Vibrator.vts.cpp",
127 ],
128}
129
130genrule {
131 name: "android.hardware.vibrator@1.0-vts.profiler_genc++_headers",
132 tools: ["hidl-gen", "vtsc"],
133 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vibrator@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/vibrator/1.0/ $(genDir)/android/hardware/vibrator/1.0/",
134 srcs: [
135 "types.hal",
136 "IVibrator.hal",
137 ],
138 out: [
139 "android/hardware/vibrator/1.0/types.vts.h",
140 "android/hardware/vibrator/1.0/Vibrator.vts.h",
141 ],
142}
143
144cc_library_shared {
145 name: "android.hardware.vibrator@1.0-vts.profiler",
146 generated_sources: ["android.hardware.vibrator@1.0-vts.profiler_genc++"],
147 generated_headers: ["android.hardware.vibrator@1.0-vts.profiler_genc++_headers"],
148 export_generated_headers: ["android.hardware.vibrator@1.0-vts.profiler_genc++_headers"],
149 shared_libs: [
150 "libbase",
151 "libhidlbase",
152 "libhidltransport",
153 "libvts_profiling",
154 "libvts_multidevice_proto",
155 "libprotobuf-cpp-full",
156 "android.hidl.base@1.0",
157 "android.hardware.vibrator@1.0",
158 ],
159}