mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 10:05:19 +00:00
To allow genrules with more than one tool, rename the tool property to tools and make it an array, replace $tool with $(location <label>), and use $() for other variables for consistency. Bug: 31948427 Test: compare build.ninja Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.allocator@2.0_genc++",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.graphics.allocator@2.0",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAllocator.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/allocator/2.0/types.cpp",
|
|
"android/hardware/graphics/allocator/2.0/AllocatorAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.allocator@2.0_genc++_headers",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.graphics.allocator@2.0",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAllocator.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/allocator/2.0/types.h",
|
|
"android/hardware/graphics/allocator/2.0/IAllocator.h",
|
|
"android/hardware/graphics/allocator/2.0/IHwAllocator.h",
|
|
"android/hardware/graphics/allocator/2.0/BnAllocator.h",
|
|
"android/hardware/graphics/allocator/2.0/BpAllocator.h",
|
|
"android/hardware/graphics/allocator/2.0/BsAllocator.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.graphics.allocator@2.0",
|
|
generated_sources: ["android.hardware.graphics.allocator@2.0_genc++"],
|
|
generated_headers: ["android.hardware.graphics.allocator@2.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.graphics.allocator@2.0_genc++_headers"],
|
|
shared_libs: [
|
|
"libhidl",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"libcutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidl",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|