platform_hardware_interfaces/light/2.0/Android.bp
Steven Moreland f8d68ec855 Update makefiles for logging.
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00

54 lines
1.6 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
genrule {
name: "android.hardware.light@2.0_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.light@2.0",
srcs: [
"types.hal",
"ILight.hal",
],
out: [
"android/hardware/light/2.0/types.cpp",
"android/hardware/light/2.0/LightAll.cpp",
],
}
genrule {
name: "android.hardware.light@2.0_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.light@2.0",
srcs: [
"types.hal",
"ILight.hal",
],
out: [
"android/hardware/light/2.0/types.h",
"android/hardware/light/2.0/ILight.h",
"android/hardware/light/2.0/IHwLight.h",
"android/hardware/light/2.0/BnLight.h",
"android/hardware/light/2.0/BpLight.h",
"android/hardware/light/2.0/BsLight.h",
],
}
cc_library_shared {
name: "android.hardware.light@2.0",
generated_sources: ["android.hardware.light@2.0_genc++"],
generated_headers: ["android.hardware.light@2.0_genc++_headers"],
export_generated_headers: ["android.hardware.light@2.0_genc++_headers"],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
],
}