platform_hardware_interfaces/radio/1.0/Android.bp
Colin Cross 8f084e00d6 Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.

Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
(cherry picked from commit b785f5b82e)
2016-11-07 10:54:59 -08:00

83 lines
3 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
genrule {
name: "android.hardware.radio@1.0_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.radio@1.0",
srcs: [
"types.hal",
"IRadio.hal",
"IRadioIndication.hal",
"IRadioResponse.hal",
"ISap.hal",
"ISapCallback.hal",
],
out: [
"android/hardware/radio/1.0/types.cpp",
"android/hardware/radio/1.0/RadioAll.cpp",
"android/hardware/radio/1.0/RadioIndicationAll.cpp",
"android/hardware/radio/1.0/RadioResponseAll.cpp",
"android/hardware/radio/1.0/SapAll.cpp",
"android/hardware/radio/1.0/SapCallbackAll.cpp",
],
}
genrule {
name: "android.hardware.radio@1.0_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.radio@1.0",
srcs: [
"types.hal",
"IRadio.hal",
"IRadioIndication.hal",
"IRadioResponse.hal",
"ISap.hal",
"ISapCallback.hal",
],
out: [
"android/hardware/radio/1.0/types.h",
"android/hardware/radio/1.0/IRadio.h",
"android/hardware/radio/1.0/IHwRadio.h",
"android/hardware/radio/1.0/BnRadio.h",
"android/hardware/radio/1.0/BpRadio.h",
"android/hardware/radio/1.0/BsRadio.h",
"android/hardware/radio/1.0/IRadioIndication.h",
"android/hardware/radio/1.0/IHwRadioIndication.h",
"android/hardware/radio/1.0/BnRadioIndication.h",
"android/hardware/radio/1.0/BpRadioIndication.h",
"android/hardware/radio/1.0/BsRadioIndication.h",
"android/hardware/radio/1.0/IRadioResponse.h",
"android/hardware/radio/1.0/IHwRadioResponse.h",
"android/hardware/radio/1.0/BnRadioResponse.h",
"android/hardware/radio/1.0/BpRadioResponse.h",
"android/hardware/radio/1.0/BsRadioResponse.h",
"android/hardware/radio/1.0/ISap.h",
"android/hardware/radio/1.0/IHwSap.h",
"android/hardware/radio/1.0/BnSap.h",
"android/hardware/radio/1.0/BpSap.h",
"android/hardware/radio/1.0/BsSap.h",
"android/hardware/radio/1.0/ISapCallback.h",
"android/hardware/radio/1.0/IHwSapCallback.h",
"android/hardware/radio/1.0/BnSapCallback.h",
"android/hardware/radio/1.0/BpSapCallback.h",
"android/hardware/radio/1.0/BsSapCallback.h",
],
}
cc_library_shared {
name: "android.hardware.radio@1.0",
generated_sources: ["android.hardware.radio@1.0_genc++"],
generated_headers: ["android.hardware.radio@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.radio@1.0_genc++_headers"],
shared_libs: [
"libhidl",
"libhwbinder",
"libutils",
"libcutils",
],
export_shared_lib_headers: [
"libhidl",
"libhwbinder",
"libutils",
],
}