platform_hardware_interfaces/contexthub/1.0/Android.bp
Tri Vo ce608bec74 Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894
Test: mmma hardware/interfaces

Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00

73 lines
2.4 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
filegroup {
name: "android.hardware.contexthub@1.0_hal",
srcs: [
"types.hal",
"IContexthub.hal",
"IContexthubCallback.hal",
],
}
genrule {
name: "android.hardware.contexthub@1.0_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
srcs: [
"types.hal",
"IContexthub.hal",
"IContexthubCallback.hal",
],
out: [
"android/hardware/contexthub/1.0/types.cpp",
"android/hardware/contexthub/1.0/ContexthubAll.cpp",
"android/hardware/contexthub/1.0/ContexthubCallbackAll.cpp",
],
}
genrule {
name: "android.hardware.contexthub@1.0_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.contexthub@1.0",
srcs: [
"types.hal",
"IContexthub.hal",
"IContexthubCallback.hal",
],
out: [
"android/hardware/contexthub/1.0/types.h",
"android/hardware/contexthub/1.0/IContexthub.h",
"android/hardware/contexthub/1.0/IHwContexthub.h",
"android/hardware/contexthub/1.0/BnHwContexthub.h",
"android/hardware/contexthub/1.0/BpHwContexthub.h",
"android/hardware/contexthub/1.0/BsContexthub.h",
"android/hardware/contexthub/1.0/IContexthubCallback.h",
"android/hardware/contexthub/1.0/IHwContexthubCallback.h",
"android/hardware/contexthub/1.0/BnHwContexthubCallback.h",
"android/hardware/contexthub/1.0/BpHwContexthubCallback.h",
"android/hardware/contexthub/1.0/BsContexthubCallback.h",
],
}
cc_library_shared {
name: "android.hardware.contexthub@1.0",
generated_sources: ["android.hardware.contexthub@1.0_genc++"],
generated_headers: ["android.hardware.contexthub@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.contexthub@1.0_genc++_headers"],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"android.hidl.base@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hidl.base@1.0",
],
}