526a36ca24
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 Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
59 lines
2 KiB
Text
59 lines
2 KiB
Text
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
filegroup {
|
|
name: "android.hardware.tests.multithread@1.0_hal",
|
|
srcs: [
|
|
"IMultithread.hal",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.tests.multithread@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.multithread@1.0",
|
|
srcs: [
|
|
":android.hardware.tests.multithread@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/tests/multithread/1.0/MultithreadAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.tests.multithread@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.multithread@1.0",
|
|
srcs: [
|
|
":android.hardware.tests.multithread@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/tests/multithread/1.0/IMultithread.h",
|
|
"android/hardware/tests/multithread/1.0/IHwMultithread.h",
|
|
"android/hardware/tests/multithread/1.0/BnHwMultithread.h",
|
|
"android/hardware/tests/multithread/1.0/BpHwMultithread.h",
|
|
"android/hardware/tests/multithread/1.0/BsMultithread.h",
|
|
],
|
|
}
|
|
|
|
cc_library {
|
|
name: "android.hardware.tests.multithread@1.0",
|
|
defaults: ["hidl-module-defaults"],
|
|
generated_sources: ["android.hardware.tests.multithread@1.0_genc++"],
|
|
generated_headers: ["android.hardware.tests.multithread@1.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.tests.multithread@1.0_genc++_headers"],
|
|
vendor_available: true,
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|