platform_hardware_interfaces/bluetooth/1.0/Android.bp
Yifan Hong 501839495f Update makefiles for hidlizing IBase.
A new dependency android.hidl.base@1.0 is added for
all projects.

Test: mma

Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00

64 lines
2.3 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
genrule {
name: "android.hardware.bluetooth@1.0_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
srcs: [
"types.hal",
"IBluetoothHci.hal",
"IBluetoothHciCallbacks.hal",
],
out: [
"android/hardware/bluetooth/1.0/types.cpp",
"android/hardware/bluetooth/1.0/BluetoothHciAll.cpp",
"android/hardware/bluetooth/1.0/BluetoothHciCallbacksAll.cpp",
],
}
genrule {
name: "android.hardware.bluetooth@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.bluetooth@1.0",
srcs: [
"types.hal",
"IBluetoothHci.hal",
"IBluetoothHciCallbacks.hal",
],
out: [
"android/hardware/bluetooth/1.0/types.h",
"android/hardware/bluetooth/1.0/IBluetoothHci.h",
"android/hardware/bluetooth/1.0/IHwBluetoothHci.h",
"android/hardware/bluetooth/1.0/BnBluetoothHci.h",
"android/hardware/bluetooth/1.0/BpBluetoothHci.h",
"android/hardware/bluetooth/1.0/BsBluetoothHci.h",
"android/hardware/bluetooth/1.0/IBluetoothHciCallbacks.h",
"android/hardware/bluetooth/1.0/IHwBluetoothHciCallbacks.h",
"android/hardware/bluetooth/1.0/BnBluetoothHciCallbacks.h",
"android/hardware/bluetooth/1.0/BpBluetoothHciCallbacks.h",
"android/hardware/bluetooth/1.0/BsBluetoothHciCallbacks.h",
],
}
cc_library_shared {
name: "android.hardware.bluetooth@1.0",
generated_sources: ["android.hardware.bluetooth@1.0_genc++"],
generated_headers: ["android.hardware.bluetooth@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.bluetooth@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",
],
}