b785f5b82e
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
60 lines
2.2 KiB
Text
60 lines
2.2 KiB
Text
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.composer@2.1_genc++",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.graphics.composer@2.1",
|
|
srcs: [
|
|
"types.hal",
|
|
"IComposer.hal",
|
|
"IComposerCallback.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/composer/2.1/types.cpp",
|
|
"android/hardware/graphics/composer/2.1/ComposerAll.cpp",
|
|
"android/hardware/graphics/composer/2.1/ComposerCallbackAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.graphics.composer@2.1_genc++_headers",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.graphics.composer@2.1",
|
|
srcs: [
|
|
"types.hal",
|
|
"IComposer.hal",
|
|
"IComposerCallback.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/graphics/composer/2.1/types.h",
|
|
"android/hardware/graphics/composer/2.1/IComposer.h",
|
|
"android/hardware/graphics/composer/2.1/IHwComposer.h",
|
|
"android/hardware/graphics/composer/2.1/BnComposer.h",
|
|
"android/hardware/graphics/composer/2.1/BpComposer.h",
|
|
"android/hardware/graphics/composer/2.1/BsComposer.h",
|
|
"android/hardware/graphics/composer/2.1/IComposerCallback.h",
|
|
"android/hardware/graphics/composer/2.1/IHwComposerCallback.h",
|
|
"android/hardware/graphics/composer/2.1/BnComposerCallback.h",
|
|
"android/hardware/graphics/composer/2.1/BpComposerCallback.h",
|
|
"android/hardware/graphics/composer/2.1/BsComposerCallback.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.graphics.composer@2.1",
|
|
generated_sources: ["android.hardware.graphics.composer@2.1_genc++"],
|
|
generated_headers: ["android.hardware.graphics.composer@2.1_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.graphics.composer@2.1_genc++_headers"],
|
|
shared_libs: [
|
|
"libhidl",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"libcutils",
|
|
"android.hardware.graphics.allocator@2.0",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidl",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|