Ran update-makefiles.sh.

Add vtsc section.

Test: mma
Change-Id: I37c2c4acd1c3b193f1f978dae09a5389d61b9380
This commit is contained in:
Yifan Hong
2017-01-10 11:18:00 -08:00
parent 04e53a1ca2
commit fead19a979
2 changed files with 255 additions and 0 deletions

View File

@@ -54,3 +54,106 @@ cc_library_shared {
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.boot.vts.driver@1.0_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) -mDRIVER -tSOURCE -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
srcs: [
"types.hal",
"IBootControl.hal",
],
out: [
"android/hardware/boot/1.0/types.vts.cpp",
"android/hardware/boot/1.0/BootControl.vts.cpp",
],
}
genrule {
name: "android.hardware.boot.vts.driver@1.0_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) -mDRIVER -tHEADER -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
srcs: [
"types.hal",
"IBootControl.hal",
],
out: [
"android/hardware/boot/1.0/types.vts.h",
"android/hardware/boot/1.0/BootControl.vts.h",
],
}
cc_library_shared {
name: "android.hardware.boot.vts.driver@1.0",
generated_sources: ["android.hardware.boot.vts.driver@1.0_genc++"],
generated_headers: ["android.hardware.boot.vts.driver@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.boot.vts.driver@1.0_genc++_headers"],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libvts_common",
"libvts_datatype",
"libvts_measurement",
"libvts_multidevice_proto",
"libcamera_metadata",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.boot@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.boot@1.0-IBootControl-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",
],
out: [
"android/hardware/boot/1.0/BootControl.vts.cpp",
"android/hardware/boot/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.boot@1.0-IBootControl-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",
],
out: [
"android/hardware/boot/1.0/BootControl.vts.h",
"android/hardware/boot/1.0/types.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"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.boot@1.0",
],
}

View File

@@ -62,3 +62,155 @@ cc_library_shared {
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.nfc.vts.driver@1.0_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
srcs: [
"types.hal",
"INfc.hal",
"INfcClientCallback.hal",
],
out: [
"android/hardware/nfc/1.0/types.vts.cpp",
"android/hardware/nfc/1.0/Nfc.vts.cpp",
"android/hardware/nfc/1.0/NfcClientCallback.vts.cpp",
],
}
genrule {
name: "android.hardware.nfc.vts.driver@1.0_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
srcs: [
"types.hal",
"INfc.hal",
"INfcClientCallback.hal",
],
out: [
"android/hardware/nfc/1.0/types.vts.h",
"android/hardware/nfc/1.0/Nfc.vts.h",
"android/hardware/nfc/1.0/NfcClientCallback.vts.h",
],
}
cc_library_shared {
name: "android.hardware.nfc.vts.driver@1.0",
generated_sources: ["android.hardware.nfc.vts.driver@1.0_genc++"],
generated_headers: ["android.hardware.nfc.vts.driver@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.nfc.vts.driver@1.0_genc++_headers"],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libvts_common",
"libvts_datatype",
"libvts_measurement",
"libvts_multidevice_proto",
"libcamera_metadata",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.nfc@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.nfc@1.0-INfc-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.nfc@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
srcs: [
"INfc.hal",
"types.hal",
],
out: [
"android/hardware/nfc/1.0/Nfc.vts.cpp",
"android/hardware/nfc/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.nfc@1.0-INfc-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.nfc@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
srcs: [
"INfc.hal",
"types.hal",
],
out: [
"android/hardware/nfc/1.0/Nfc.vts.h",
"android/hardware/nfc/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.nfc@1.0-INfc-vts.profiler",
generated_sources: ["android.hardware.nfc@1.0-INfc-vts.profiler_genc++"],
generated_headers: ["android.hardware.nfc@1.0-INfc-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.nfc@1.0-INfc-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.nfc@1.0",
],
}
genrule {
name: "android.hardware.nfc@1.0-INfcClientCallback-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.nfc@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
srcs: [
"INfcClientCallback.hal",
"types.hal",
],
out: [
"android/hardware/nfc/1.0/NfcClientCallback.vts.cpp",
"android/hardware/nfc/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.nfc@1.0-INfcClientCallback-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.nfc@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
srcs: [
"INfcClientCallback.hal",
"types.hal",
],
out: [
"android/hardware/nfc/1.0/NfcClientCallback.vts.h",
"android/hardware/nfc/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.nfc@1.0-INfcClientCallback-vts.profiler",
generated_sources: ["android.hardware.nfc@1.0-INfcClientCallback-vts.profiler_genc++"],
generated_headers: ["android.hardware.nfc@1.0-INfcClientCallback-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.nfc@1.0-INfcClientCallback-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.nfc@1.0",
],
}