summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhuoyao Zhang2016-12-21 19:04:49 -0600
committerZhuoyao Zhang2016-12-22 19:09:12 -0600
commitc57e359d1a6bacffcc184b8d0ae75f02cb1e4ef8 (patch)
tree4dd7c67996c8e1b95765720fb8e1e7b6303e0440 /light/2.0/Android.bp
parenta13ec5a81cff3c95b985c0d3ddffebe4f2091225 (diff)
downloadplatform-hardware-interfaces-c57e359d1a6bacffcc184b8d0ae75f02cb1e4ef8.tar.gz
platform-hardware-interfaces-c57e359d1a6bacffcc184b8d0ae75f02cb1e4ef8.tar.xz
platform-hardware-interfaces-c57e359d1a6bacffcc184b8d0ae75f02cb1e4ef8.zip
Update Android.bp and vts/Android.mk for Hidl HALs
* Using update-makefiles.sh to add make rule for profiler in Android.bp * Remove make rule for profiler in vts/Android.mk. Bug:31930023 Test: mma Change-Id: Iea834d8610501c2fce63f65742db31bafb85c0b8
Diffstat (limited to 'light/2.0/Android.bp')
-rw-r--r--light/2.0/Android.bp45
1 files changed, 45 insertions, 0 deletions
diff --git a/light/2.0/Android.bp b/light/2.0/Android.bp
index a98801c1..0ad131c7 100644
--- a/light/2.0/Android.bp
+++ b/light/2.0/Android.bp
@@ -112,3 +112,48 @@ cc_library_shared {
112 "android.hidl.base@1.0", 112 "android.hidl.base@1.0",
113 ], 113 ],
114} 114}
115
116genrule {
117 name: "android.hardware.light@2.0-ILight-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.light@2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/light/2.0/ $(genDir)/android/hardware/light/2.0/",
120 srcs: [
121 "ILight.hal",
122 "types.hal",
123 ],
124 out: [
125 "android/hardware/light/2.0/Light.vts.cpp",
126 "android/hardware/light/2.0/types.vts.cpp",
127 ],
128}
129
130genrule {
131 name: "android.hardware.light@2.0-ILight-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.light@2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/light/2.0/ $(genDir)/android/hardware/light/2.0/",
134 srcs: [
135 "ILight.hal",
136 "types.hal",
137 ],
138 out: [
139 "android/hardware/light/2.0/Light.vts.h",
140 "android/hardware/light/2.0/types.vts.h",
141 ],
142}
143
144cc_library_shared {
145 name: "android.hardware.light@2.0-ILight-vts.profiler",
146 generated_sources: ["android.hardware.light@2.0-ILight-vts.profiler_genc++"],
147 generated_headers: ["android.hardware.light@2.0-ILight-vts.profiler_genc++_headers"],
148 export_generated_headers: ["android.hardware.light@2.0-ILight-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.light@2.0",
158 ],
159}