blob: 58e709eea5449e6ed691f47f5887e1499121c644 [file] [log] [blame]
Todd Poynorcf964d72017-05-23 20:28:15 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.thermal@1.1_hal",
5 srcs: [
6 "IThermal.hal",
7 "IThermalCallback.hal",
8 ],
9}
10
11genrule {
12 name: "android.hardware.thermal@1.1_genc++",
13 tools: ["hidl-gen"],
14 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.1",
15 srcs: [
16 ":android.hardware.thermal@1.1_hal",
17 ],
18 out: [
19 "android/hardware/thermal/1.1/ThermalAll.cpp",
20 "android/hardware/thermal/1.1/ThermalCallbackAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.thermal@1.1_genc++_headers",
26 tools: ["hidl-gen"],
27 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.1",
28 srcs: [
29 ":android.hardware.thermal@1.1_hal",
30 ],
31 out: [
32 "android/hardware/thermal/1.1/IThermal.h",
33 "android/hardware/thermal/1.1/IHwThermal.h",
34 "android/hardware/thermal/1.1/BnHwThermal.h",
35 "android/hardware/thermal/1.1/BpHwThermal.h",
36 "android/hardware/thermal/1.1/BsThermal.h",
37 "android/hardware/thermal/1.1/IThermalCallback.h",
38 "android/hardware/thermal/1.1/IHwThermalCallback.h",
39 "android/hardware/thermal/1.1/BnHwThermalCallback.h",
40 "android/hardware/thermal/1.1/BpHwThermalCallback.h",
41 "android/hardware/thermal/1.1/BsThermalCallback.h",
42 ],
43}
44
Steven Moreland6ae7aad2017-08-03 12:12:07 -070045cc_library {
Todd Poynorcf964d72017-05-23 20:28:15 -070046 name: "android.hardware.thermal@1.1",
47 defaults: ["hidl-module-defaults"],
48 generated_sources: ["android.hardware.thermal@1.1_genc++"],
49 generated_headers: ["android.hardware.thermal@1.1_genc++_headers"],
50 export_generated_headers: ["android.hardware.thermal@1.1_genc++_headers"],
51 vendor_available: true,
Steven Moreland6da35572017-08-10 15:14:53 -070052 vndk: {
53 enabled: true,
54 },
Todd Poynorcf964d72017-05-23 20:28:15 -070055 shared_libs: [
56 "libhidlbase",
57 "libhidltransport",
58 "libhwbinder",
59 "liblog",
60 "libutils",
61 "libcutils",
62 "android.hardware.thermal@1.0",
63 ],
64 export_shared_lib_headers: [
65 "libhidlbase",
66 "libhidltransport",
67 "libhwbinder",
68 "libutils",
69 "android.hardware.thermal@1.0",
70 ],
71}
Steven Moreland3788a732017-09-26 10:11:18 -070072
73genrule {
74 name: "android.hardware.thermal@1.1-adapter-helper_genc++",
75 tools: ["hidl-gen"],
76 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.1",
77 srcs: [
78 ":android.hardware.thermal@1.1_hal",
79 ],
80 out: [
81 "android/hardware/thermal/1.1/AThermal.cpp",
82 "android/hardware/thermal/1.1/AThermalCallback.cpp",
83 ],
84}
85
86genrule {
87 name: "android.hardware.thermal@1.1-adapter-helper_genc++_headers",
88 tools: ["hidl-gen"],
89 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.1",
90 srcs: [
91 ":android.hardware.thermal@1.1_hal",
92 ],
93 out: [
94 "android/hardware/thermal/1.1/AThermal.h",
95 "android/hardware/thermal/1.1/AThermalCallback.h",
96 ],
97}
98
99
100cc_library {
101 name: "android.hardware.thermal@1.1-adapter-helper",
102 defaults: ["hidl-module-defaults"],
103 generated_sources: ["android.hardware.thermal@1.1-adapter-helper_genc++"],
104 generated_headers: ["android.hardware.thermal@1.1-adapter-helper_genc++_headers"],
105 export_generated_headers: ["android.hardware.thermal@1.1-adapter-helper_genc++_headers"],
106 vendor_available: true,
107 shared_libs: [
108 "libhidlbase",
109 "libhidltransport",
110 "libhwbinder",
111 "liblog",
112 "libutils",
113 "libcutils",
114 "libhidladapter",
115 "android.hardware.thermal@1.0",
116 "android.hardware.thermal@1.1",
117 "android.hardware.thermal@1.0-adapter-helper",
118 "android.hidl.base@1.0-adapter-helper",
119 ],
120 export_shared_lib_headers: [
121 "libhidlbase",
122 "libhidltransport",
123 "libhwbinder",
124 "libutils",
125 "libhidladapter",
126 "android.hardware.thermal@1.0",
127 "android.hardware.thermal@1.1",
128 "android.hardware.thermal@1.0-adapter-helper",
129 "android.hidl.base@1.0-adapter-helper",
130 ],
131}
132
133genrule {
134 name: "android.hardware.thermal@1.1-adapter_genc++",
135 tools: ["hidl-gen"],
136 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.1",
137 out: ["main.cpp"]
138}
139
140cc_test {
141 name: "android.hardware.thermal@1.1-adapter",
142 shared_libs: [
143 "libhidladapter",
144 "libhidlbase",
145 "libhidltransport",
146 "libutils",
147 "android.hardware.thermal@1.0",
148 "android.hardware.thermal@1.1",
149 "android.hardware.thermal@1.1-adapter-helper",
150 ],
151 generated_sources: ["android.hardware.thermal@1.1-adapter_genc++"],
152}