platform_hardware_interfaces/vr/1.0/Android.bp
Yifan Hong a18049ad13 Bp/nFoo -> Bp/nHwFoo.
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00

147 lines
4.8 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
genrule {
name: "android.hardware.vr@1.0_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vr@1.0",
srcs: [
"IVr.hal",
],
out: [
"android/hardware/vr/1.0/VrAll.cpp",
],
}
genrule {
name: "android.hardware.vr@1.0_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.vr@1.0",
srcs: [
"IVr.hal",
],
out: [
"android/hardware/vr/1.0/IVr.h",
"android/hardware/vr/1.0/IHwVr.h",
"android/hardware/vr/1.0/BnHwVr.h",
"android/hardware/vr/1.0/BpHwVr.h",
"android/hardware/vr/1.0/BsVr.h",
],
}
cc_library_shared {
name: "android.hardware.vr@1.0",
generated_sources: ["android.hardware.vr@1.0_genc++"],
generated_headers: ["android.hardware.vr@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.vr@1.0_genc++_headers"],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"android.hidl.base@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.vr.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.vr@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/vr/1.0/ $(genDir)/android/hardware/vr/1.0/",
srcs: [
"IVr.hal",
],
out: [
"android/hardware/vr/1.0/Vr.vts.cpp",
],
}
genrule {
name: "android.hardware.vr.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.vr@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/vr/1.0/ $(genDir)/android/hardware/vr/1.0/",
srcs: [
"IVr.hal",
],
out: [
"android/hardware/vr/1.0/Vr.vts.h",
],
}
cc_library_shared {
name: "android.hardware.vr.vts.driver@1.0",
generated_sources: ["android.hardware.vr.vts.driver@1.0_genc++"],
generated_headers: ["android.hardware.vr.vts.driver@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.vr.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.vr@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.vr@1.0-IVr-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.vr@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/vr/1.0/ $(genDir)/android/hardware/vr/1.0/",
srcs: [
"IVr.hal",
],
out: [
"android/hardware/vr/1.0/Vr.vts.cpp",
],
}
genrule {
name: "android.hardware.vr@1.0-IVr-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.vr@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/vr/1.0/ $(genDir)/android/hardware/vr/1.0/",
srcs: [
"IVr.hal",
],
out: [
"android/hardware/vr/1.0/Vr.vts.h",
],
}
cc_library_shared {
name: "android.hardware.vr@1.0-IVr-vts.profiler",
generated_sources: ["android.hardware.vr@1.0-IVr-vts.profiler_genc++"],
generated_headers: ["android.hardware.vr@1.0-IVr-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.vr@1.0-IVr-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.vr@1.0",
],
}