e9b43bbe2d
* Add driver/profiler build rule for all hals. Test: mma Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
138 lines
5 KiB
Text
138 lines
5 KiB
Text
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.common@1.0_genc++",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.common@1.0",
|
|
srcs: [
|
|
"types.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/common/1.0/types.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.common@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.graphics.common@1.0",
|
|
srcs: [
|
|
"types.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/common/1.0/types.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.graphics.common@1.0",
|
|
generated_sources: ["android.hardware.graphics.common@1.0_genc++"],
|
|
generated_headers: ["android.hardware.graphics.common@1.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.graphics.common@1.0_genc++_headers"],
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.common.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.graphics.common@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/graphics/common/1.0/ $(genDir)/android/hardware/graphics/common/1.0/",
|
|
srcs: [
|
|
"types.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/common/1.0/types.vts.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.common.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.graphics.common@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/graphics/common/1.0/ $(genDir)/android/hardware/graphics/common/1.0/",
|
|
srcs: [
|
|
"types.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/common/1.0/types.vts.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.graphics.common.vts.driver@1.0",
|
|
generated_sources: ["android.hardware.graphics.common.vts.driver@1.0_genc++"],
|
|
generated_headers: ["android.hardware.graphics.common.vts.driver@1.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.graphics.common.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.hardware.graphics.common@1.0",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.common@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.graphics.common@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/graphics/common/1.0/ $(genDir)/android/hardware/graphics/common/1.0/",
|
|
srcs: [
|
|
"types.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/common/1.0/types.vts.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.common@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.graphics.common@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/graphics/common/1.0/ $(genDir)/android/hardware/graphics/common/1.0/",
|
|
srcs: [
|
|
"types.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/common/1.0/types.vts.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.graphics.common@1.0-vts.profiler",
|
|
generated_sources: ["android.hardware.graphics.common@1.0-vts.profiler_genc++"],
|
|
generated_headers: ["android.hardware.graphics.common@1.0-vts.profiler_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.graphics.common@1.0-vts.profiler_genc++_headers"],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libvts_profiling",
|
|
"libvts_multidevice_proto",
|
|
"libprotobuf-cpp-full",
|
|
"android.hardware.graphics.common@1.0",
|
|
],
|
|
}
|