376ec0c0fd
The neuralnetworks hal was placed in frameworks/ml/nn/hardware/interfaces while VTS tests were being developed. This CL moves it to hardware/interfaces and another CL removes it from frameworks/ml/nn/hardware/interfaces. VTS tests included in a sibling CL in this topic. Bug: 63905942 Test: mm -j40 Change-Id: I0e6c84de72a763edbaef3e9b3063c3ecca216337
70 lines
2.5 KiB
Text
70 lines
2.5 KiB
Text
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
filegroup {
|
|
name: "android.hardware.neuralnetworks@1.0_hal",
|
|
srcs: [
|
|
"types.hal",
|
|
"IDevice.hal",
|
|
"IPreparedModel.hal",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.neuralnetworks@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.neuralnetworks@1.0",
|
|
srcs: [
|
|
":android.hardware.neuralnetworks@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/neuralnetworks/1.0/types.cpp",
|
|
"android/hardware/neuralnetworks/1.0/DeviceAll.cpp",
|
|
"android/hardware/neuralnetworks/1.0/PreparedModelAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.neuralnetworks@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.neuralnetworks@1.0",
|
|
srcs: [
|
|
":android.hardware.neuralnetworks@1.0_hal",
|
|
],
|
|
out: [
|
|
"android/hardware/neuralnetworks/1.0/types.h",
|
|
"android/hardware/neuralnetworks/1.0/hwtypes.h",
|
|
"android/hardware/neuralnetworks/1.0/IDevice.h",
|
|
"android/hardware/neuralnetworks/1.0/IHwDevice.h",
|
|
"android/hardware/neuralnetworks/1.0/BnHwDevice.h",
|
|
"android/hardware/neuralnetworks/1.0/BpHwDevice.h",
|
|
"android/hardware/neuralnetworks/1.0/BsDevice.h",
|
|
"android/hardware/neuralnetworks/1.0/IPreparedModel.h",
|
|
"android/hardware/neuralnetworks/1.0/IHwPreparedModel.h",
|
|
"android/hardware/neuralnetworks/1.0/BnHwPreparedModel.h",
|
|
"android/hardware/neuralnetworks/1.0/BpHwPreparedModel.h",
|
|
"android/hardware/neuralnetworks/1.0/BsPreparedModel.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.neuralnetworks@1.0",
|
|
defaults: ["hidl-module-defaults"],
|
|
generated_sources: ["android.hardware.neuralnetworks@1.0_genc++"],
|
|
generated_headers: ["android.hardware.neuralnetworks@1.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.neuralnetworks@1.0_genc++_headers"],
|
|
vendor_available: true,
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
],
|
|
}
|