summaryrefslogtreecommitdiffstats
path: root/thermal/1.0/Android.bp
diff options
context:
space:
mode:
authorPolina Bondarenko <pbond@google.com>2016-10-11 16:39:23 +0200
committerPolina Bondarenko <pbond@google.com>2016-10-14 13:44:09 +0200
commit254e2fe9b940c6722d99cdc4a1bc4a6cc23730d9 (patch)
tree0e7d10c1cf5d8b43026a7657fed20c6df178c3fa /thermal/1.0/Android.bp
parentd483665bec5dbef5c98f20c32e0a09d7b98e74c0 (diff)
downloadandroid_hardware_interfaces-254e2fe9b940c6722d99cdc4a1bc4a6cc23730d9.tar.gz
android_hardware_interfaces-254e2fe9b940c6722d99cdc4a1bc4a6cc23730d9.tar.bz2
android_hardware_interfaces-254e2fe9b940c6722d99cdc4a1bc4a6cc23730d9.zip
thermal: add hal objects.
Converted thermal HAL to HIDL, Added default implementation. Bug:32022261 Test: Compiles Change-Id: I92d164b58464f2dee9d8d17affe57fb6af4c1c08
Diffstat (limited to 'thermal/1.0/Android.bp')
-rw-r--r--thermal/1.0/Android.bp46
1 files changed, 46 insertions, 0 deletions
diff --git a/thermal/1.0/Android.bp b/thermal/1.0/Android.bp
new file mode 100644
index 000000000..0c5dd19b6
--- /dev/null
+++ b/thermal/1.0/Android.bp
@@ -0,0 +1,46 @@
+// This file is autogenerated by hidl-gen. Do not edit manually.
+
+genrule {
+ name: "android.hardware.thermal@1.0_genc++",
+ tool: "hidl-gen",
+ cmd: "$tool -o $genDir -Lc++ -randroid.hardware:hardware/interfaces android.hardware.thermal@1.0",
+ srcs: [
+ "types.hal",
+ "IThermal.hal",
+ ],
+ out: [
+ "android/hardware/thermal/1.0/types.cpp",
+ "android/hardware/thermal/1.0/ThermalAll.cpp",
+ ],
+}
+
+genrule {
+ name: "android.hardware.thermal@1.0_genc++_headers",
+ tool: "hidl-gen",
+ cmd: "$tool -o $genDir -Lc++ -randroid.hardware:hardware/interfaces android.hardware.thermal@1.0",
+ srcs: [
+ "types.hal",
+ "IThermal.hal",
+ ],
+ out: [
+ "android/hardware/thermal/1.0/types.h",
+ "android/hardware/thermal/1.0/IThermal.h",
+ "android/hardware/thermal/1.0/IHwThermal.h",
+ "android/hardware/thermal/1.0/BnThermal.h",
+ "android/hardware/thermal/1.0/BpThermal.h",
+ "android/hardware/thermal/1.0/BsThermal.h",
+ ],
+}
+
+cc_library_shared {
+ name: "android.hardware.thermal@1.0",
+ generated_sources: ["android.hardware.thermal@1.0_genc++"],
+ generated_headers: ["android.hardware.thermal@1.0_genc++_headers"],
+ export_generated_headers: ["android.hardware.thermal@1.0_genc++_headers"],
+ shared_libs: [
+ "libhidl",
+ "libhwbinder",
+ "libutils",
+ "libcutils",
+ ],
+}