mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.
Build them as non-VNDK so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.
Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices
Merged-In: I6167da8572081adfb53f432b248ac3bbee39dc42
Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
(cherry picked from commit 526a36ca24)
67 lines
2.2 KiB
Plaintext
67 lines
2.2 KiB
Plaintext
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
filegroup {
|
|
name: "android.hardware.tests.pointer@1.0_hal",
|
|
srcs: [
|
|
"IGraph.hal",
|
|
"IPointer.hal",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.tests.pointer@1.0_genc++",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.pointer@1.0",
|
|
srcs: [
|
|
":android.hardware.tests.pointer@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/tests/pointer/1.0/GraphAll.cpp",
|
|
"android/hardware/tests/pointer/1.0/PointerAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.tests.pointer@1.0_genc++_headers",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.pointer@1.0",
|
|
srcs: [
|
|
":android.hardware.tests.pointer@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/tests/pointer/1.0/IGraph.h",
|
|
"android/hardware/tests/pointer/1.0/IHwGraph.h",
|
|
"android/hardware/tests/pointer/1.0/BnHwGraph.h",
|
|
"android/hardware/tests/pointer/1.0/BpHwGraph.h",
|
|
"android/hardware/tests/pointer/1.0/BsGraph.h",
|
|
"android/hardware/tests/pointer/1.0/IPointer.h",
|
|
"android/hardware/tests/pointer/1.0/IHwPointer.h",
|
|
"android/hardware/tests/pointer/1.0/BnHwPointer.h",
|
|
"android/hardware/tests/pointer/1.0/BpHwPointer.h",
|
|
"android/hardware/tests/pointer/1.0/BsPointer.h",
|
|
],
|
|
}
|
|
|
|
cc_library {
|
|
name: "android.hardware.tests.pointer@1.0",
|
|
defaults: ["hidl-module-defaults"],
|
|
generated_sources: ["android.hardware.tests.pointer@1.0_genc++"],
|
|
generated_headers: ["android.hardware.tests.pointer@1.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.tests.pointer@1.0_genc++_headers"],
|
|
vendor_available: true,
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|