Support driver/profiler for all hals.
* Update the make file to generate driver/profiler for hals.
Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee
diff --git a/boot/1.0/Android.bp b/boot/1.0/Android.bp
index 8e62c89..2ac5498 100644
--- a/boot/1.0/Android.bp
+++ b/boot/1.0/Android.bp
@@ -114,38 +114,38 @@
}
genrule {
- name: "android.hardware.boot@1.0-IBootControl-vts.profiler_genc++",
+ name: "android.hardware.boot@1.0-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
srcs: [
- "IBootControl.hal",
"types.hal",
+ "IBootControl.hal",
],
out: [
- "android/hardware/boot/1.0/BootControl.vts.cpp",
"android/hardware/boot/1.0/types.vts.cpp",
+ "android/hardware/boot/1.0/BootControl.vts.cpp",
],
}
genrule {
- name: "android.hardware.boot@1.0-IBootControl-vts.profiler_genc++_headers",
+ name: "android.hardware.boot@1.0-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
srcs: [
- "IBootControl.hal",
"types.hal",
+ "IBootControl.hal",
],
out: [
- "android/hardware/boot/1.0/BootControl.vts.h",
"android/hardware/boot/1.0/types.vts.h",
+ "android/hardware/boot/1.0/BootControl.vts.h",
],
}
cc_library_shared {
- name: "android.hardware.boot@1.0-IBootControl-vts.profiler",
- generated_sources: ["android.hardware.boot@1.0-IBootControl-vts.profiler_genc++"],
- generated_headers: ["android.hardware.boot@1.0-IBootControl-vts.profiler_genc++_headers"],
- export_generated_headers: ["android.hardware.boot@1.0-IBootControl-vts.profiler_genc++_headers"],
+ name: "android.hardware.boot@1.0-vts.profiler",
+ generated_sources: ["android.hardware.boot@1.0-vts.profiler_genc++"],
+ generated_headers: ["android.hardware.boot@1.0-vts.profiler_genc++_headers"],
+ export_generated_headers: ["android.hardware.boot@1.0-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",