blob: 43a0f68cfe9e1af31c5cd42294b76dfbbc0596cf [file] [log] [blame]
Polina Bondarenko254e2fe2016-10-11 16:39:23 +02001// This file is autogenerated by hidl-gen. Do not edit manually.
2
Tri Voce608be2017-02-07 19:13:25 -08003filegroup {
4 name: "android.hardware.thermal@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IThermal.hal",
8 ],
9}
10
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020011genrule {
12 name: "android.hardware.thermal@1.0_genc++",
Colin Crossb785f5b2016-11-04 15:02:42 -070013 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070014 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020015 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080016 ":android.hardware.thermal@1.0_hal",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020017 ],
18 out: [
19 "android/hardware/thermal/1.0/types.cpp",
20 "android/hardware/thermal/1.0/ThermalAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.thermal@1.0_genc++_headers",
Colin Crossb785f5b2016-11-04 15:02:42 -070026 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070027 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020028 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080029 ":android.hardware.thermal@1.0_hal",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020030 ],
31 out: [
32 "android/hardware/thermal/1.0/types.h",
Steven Moreland561b6022017-03-27 11:48:14 -070033 "android/hardware/thermal/1.0/hwtypes.h",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020034 "android/hardware/thermal/1.0/IThermal.h",
35 "android/hardware/thermal/1.0/IHwThermal.h",
Yifan Honga18049a2017-01-11 13:14:59 -080036 "android/hardware/thermal/1.0/BnHwThermal.h",
37 "android/hardware/thermal/1.0/BpHwThermal.h",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020038 "android/hardware/thermal/1.0/BsThermal.h",
39 ],
40}
41
Steven Morelanddfd82872017-08-10 15:15:40 -070042cc_library {
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020043 name: "android.hardware.thermal@1.0",
Steven Moreland76cfb842017-05-19 15:52:22 -070044 defaults: ["hidl-module-defaults"],
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020045 generated_sources: ["android.hardware.thermal@1.0_genc++"],
46 generated_headers: ["android.hardware.thermal@1.0_genc++_headers"],
47 export_generated_headers: ["android.hardware.thermal@1.0_genc++_headers"],
Steven Moreland3b36a832017-04-11 09:58:03 -070048 vendor_available: true,
Steven Morelanddfd82872017-08-10 15:15:40 -070049 vndk: {
50 enabled: true,
51 },
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020052 shared_libs: [
Yifan Hong6b920e42016-11-16 14:17:58 -080053 "libhidlbase",
54 "libhidltransport",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020055 "libhwbinder",
Steven Morelandf8d68ec2016-11-21 16:28:54 -080056 "liblog",
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020057 "libutils",
58 "libcutils",
59 ],
Steven Morelandfcd74eb2016-11-02 10:23:49 -070060 export_shared_lib_headers: [
Yifan Hong6b920e42016-11-16 14:17:58 -080061 "libhidlbase",
62 "libhidltransport",
Steven Morelandfcd74eb2016-11-02 10:23:49 -070063 "libhwbinder",
64 "libutils",
Steven Moreland69727772016-10-25 15:45:19 -070065 ],
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020066}
Steven Moreland26a0bb22017-09-22 14:10:47 -070067
68genrule {
Steven Morelandc3e80fa2017-10-10 11:05:20 -070069 name: "android.hardware.thermal-V1.0-java_gen_java",
70 tools: ["hidl-gen"],
71 cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
72 srcs: [
73 ":android.hardware.thermal@1.0_hal",
74 ],
75 out: [
76 "android/hardware/thermal/V1_0/CoolingDevice.java",
77 "android/hardware/thermal/V1_0/CoolingType.java",
78 "android/hardware/thermal/V1_0/CpuUsage.java",
79 "android/hardware/thermal/V1_0/Temperature.java",
80 "android/hardware/thermal/V1_0/TemperatureType.java",
81 "android/hardware/thermal/V1_0/ThermalStatus.java",
82 "android/hardware/thermal/V1_0/ThermalStatusCode.java",
83 "android/hardware/thermal/V1_0/IThermal.java",
84 ],
85}
86
87java_library {
88 name: "android.hardware.thermal-V1.0-java",
89 no_framework_libs: true,
90 defaults: ["hidl-java-module-defaults"],
91 srcs: [":android.hardware.thermal-V1.0-java_gen_java"],
92 libs: [
93 "hwbinder",
94 "android.hidl.base-V1.0-java",
95 ]
96}
97
98genrule {
99 name: "android.hardware.thermal-V1.0-java-constants_gen_java",
100 tools: ["hidl-gen"],
101 cmd: "$(location hidl-gen) -o $(genDir) -Ljava-constants -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
102 srcs: [
103 ":android.hardware.thermal@1.0_hal",
104 ],
105 out: [
106 "android/hardware/thermal/V1_0/Constants.java",
107 ],
108}
109
110java_library {
111 name: "android.hardware.thermal-V1.0-java-constants",
112 no_framework_libs: true,
113 defaults: ["hidl-java-module-defaults"],
114 srcs: [":android.hardware.thermal-V1.0-java-constants_gen_java"],
115}
116
117genrule {
Steven Moreland26a0bb22017-09-22 14:10:47 -0700118 name: "android.hardware.thermal@1.0-adapter-helper_genc++",
119 tools: ["hidl-gen"],
120 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
121 srcs: [
122 ":android.hardware.thermal@1.0_hal",
123 ],
124 out: [
125 "android/hardware/thermal/1.0/AThermal.cpp",
126 ],
127}
128
129genrule {
130 name: "android.hardware.thermal@1.0-adapter-helper_genc++_headers",
131 tools: ["hidl-gen"],
132 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
133 srcs: [
134 ":android.hardware.thermal@1.0_hal",
135 ],
136 out: [
137 "android/hardware/thermal/1.0/AThermal.h",
138 ],
139}
140
Steven Moreland26a0bb22017-09-22 14:10:47 -0700141cc_library {
142 name: "android.hardware.thermal@1.0-adapter-helper",
143 defaults: ["hidl-module-defaults"],
144 generated_sources: ["android.hardware.thermal@1.0-adapter-helper_genc++"],
145 generated_headers: ["android.hardware.thermal@1.0-adapter-helper_genc++_headers"],
146 export_generated_headers: ["android.hardware.thermal@1.0-adapter-helper_genc++_headers"],
147 vendor_available: true,
148 shared_libs: [
149 "libhidlbase",
150 "libhidltransport",
151 "libhwbinder",
152 "liblog",
153 "libutils",
154 "libcutils",
155 "libhidladapter",
156 "android.hardware.thermal@1.0",
157 "android.hidl.base@1.0-adapter-helper",
158 ],
159 export_shared_lib_headers: [
160 "libhidlbase",
161 "libhidltransport",
162 "libhwbinder",
163 "libutils",
164 "libhidladapter",
165 "android.hardware.thermal@1.0",
166 "android.hidl.base@1.0-adapter-helper",
167 ],
168}
169
170genrule {
171 name: "android.hardware.thermal@1.0-adapter_genc++",
172 tools: ["hidl-gen"],
173 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.thermal@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700174 out: ["main.cpp"]
175}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700176
177cc_test {
178 name: "android.hardware.thermal@1.0-adapter",
Steven Moreland527fd762017-10-04 12:47:03 -0700179 defaults: ["hidl-module-defaults"],
Steven Moreland26a0bb22017-09-22 14:10:47 -0700180 shared_libs: [
181 "libhidladapter",
182 "libhidlbase",
183 "libhidltransport",
184 "libutils",
185 "android.hardware.thermal@1.0",
186 "android.hardware.thermal@1.0-adapter-helper",
187 ],
188 generated_sources: ["android.hardware.thermal@1.0-adapter_genc++"],
189}