blob: 98db2abc6d40a60c48fab52f4a2bc42079b8b7b5 [file] [log] [blame]
Alex Deymo6e0c0102016-09-30 19:00:40 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
Tri Voac9f1c02017-02-06 09:59:51 -08003filegroup {
4 name: "android.hardware.boot@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IBootControl.hal",
8 ],
9}
10
Alex Deymo6e0c0102016-09-30 19:00:40 -070011genrule {
12 name: "android.hardware.boot@1.0_genc++",
Colin Cross8f084e02016-11-04 15:02:42 -070013 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070014 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
Alex Deymo6e0c0102016-09-30 19:00:40 -070015 srcs: [
Tri Vo06da29f2017-02-08 10:53:06 -080016 ":android.hardware.boot@1.0_hal",
Alex Deymo6e0c0102016-09-30 19:00:40 -070017 ],
18 out: [
19 "android/hardware/boot/1.0/types.cpp",
20 "android/hardware/boot/1.0/BootControlAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.boot@1.0_genc++_headers",
Colin Cross8f084e02016-11-04 15:02:42 -070026 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070027 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
Alex Deymo6e0c0102016-09-30 19:00:40 -070028 srcs: [
Tri Vo06da29f2017-02-08 10:53:06 -080029 ":android.hardware.boot@1.0_hal",
Alex Deymo6e0c0102016-09-30 19:00:40 -070030 ],
31 out: [
32 "android/hardware/boot/1.0/types.h",
Steven Morelande90c31f2017-03-24 21:50:45 -070033 "android/hardware/boot/1.0/hwtypes.h",
Alex Deymo6e0c0102016-09-30 19:00:40 -070034 "android/hardware/boot/1.0/IBootControl.h",
35 "android/hardware/boot/1.0/IHwBootControl.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080036 "android/hardware/boot/1.0/BnHwBootControl.h",
37 "android/hardware/boot/1.0/BpHwBootControl.h",
Alex Deymo6e0c0102016-09-30 19:00:40 -070038 "android/hardware/boot/1.0/BsBootControl.h",
39 ],
40}
41
Steven Moreland72067082017-07-26 10:14:57 -070042cc_library {
Alex Deymo6e0c0102016-09-30 19:00:40 -070043 name: "android.hardware.boot@1.0",
Steven Moreland06c85d92017-05-18 16:14:16 -070044 defaults: ["hidl-module-defaults"],
Alex Deymo6e0c0102016-09-30 19:00:40 -070045 generated_sources: ["android.hardware.boot@1.0_genc++"],
46 generated_headers: ["android.hardware.boot@1.0_genc++_headers"],
47 export_generated_headers: ["android.hardware.boot@1.0_genc++_headers"],
Steven Moreland0dd5ba22017-04-11 09:57:11 -070048 vendor_available: true,
Steven Moreland5e594022017-07-25 18:24:40 -070049 vndk: {
50 enabled: true,
51 },
Alex Deymo6e0c0102016-09-30 19:00:40 -070052 shared_libs: [
Yifan Hong63544ea2016-11-16 14:17:58 -080053 "libhidlbase",
54 "libhidltransport",
Alex Deymo6e0c0102016-09-30 19:00:40 -070055 "libhwbinder",
Steven Moreland3e3a0992016-11-21 16:19:57 -080056 "liblog",
Alex Deymo6e0c0102016-09-30 19:00:40 -070057 "libutils",
58 "libcutils",
59 ],
Steven Moreland79820582016-11-01 13:04:54 -070060 export_shared_lib_headers: [
Yifan Hong63544ea2016-11-16 14:17:58 -080061 "libhidlbase",
62 "libhidltransport",
Steven Moreland79820582016-11-01 13:04:54 -070063 "libhwbinder",
64 "libutils",
Steven Morelandce977942016-10-21 13:40:54 -070065 ],
Alex Deymo6e0c0102016-09-30 19:00:40 -070066}
Steven Moreland26a0bb22017-09-22 14:10:47 -070067
68genrule {
Steven Morelandc3e80fa2017-10-10 11:05:20 -070069 name: "android.hardware.boot-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.boot@1.0",
72 srcs: [
73 ":android.hardware.boot@1.0_hal",
74 ],
75 out: [
76 "android/hardware/boot/V1_0/BoolResult.java",
77 "android/hardware/boot/V1_0/CommandResult.java",
78 "android/hardware/boot/V1_0/IBootControl.java",
79 ],
80}
81
82java_library {
83 name: "android.hardware.boot-V1.0-java",
84 no_framework_libs: true,
85 defaults: ["hidl-java-module-defaults"],
86 srcs: [":android.hardware.boot-V1.0-java_gen_java"],
87 libs: [
88 "hwbinder",
89 "android.hidl.base-V1.0-java",
90 ]
91}
92
93// This package does not export any types. Not creating java constants export.
94
95
96genrule {
Steven Moreland26a0bb22017-09-22 14:10:47 -070097 name: "android.hardware.boot@1.0-adapter-helper_genc++",
98 tools: ["hidl-gen"],
99 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
100 srcs: [
101 ":android.hardware.boot@1.0_hal",
102 ],
103 out: [
104 "android/hardware/boot/1.0/ABootControl.cpp",
105 ],
106}
107
108genrule {
109 name: "android.hardware.boot@1.0-adapter-helper_genc++_headers",
110 tools: ["hidl-gen"],
111 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
112 srcs: [
113 ":android.hardware.boot@1.0_hal",
114 ],
115 out: [
116 "android/hardware/boot/1.0/ABootControl.h",
117 ],
118}
119
Steven Moreland26a0bb22017-09-22 14:10:47 -0700120cc_library {
121 name: "android.hardware.boot@1.0-adapter-helper",
122 defaults: ["hidl-module-defaults"],
123 generated_sources: ["android.hardware.boot@1.0-adapter-helper_genc++"],
124 generated_headers: ["android.hardware.boot@1.0-adapter-helper_genc++_headers"],
125 export_generated_headers: ["android.hardware.boot@1.0-adapter-helper_genc++_headers"],
126 vendor_available: true,
127 shared_libs: [
128 "libhidlbase",
129 "libhidltransport",
130 "libhwbinder",
131 "liblog",
132 "libutils",
133 "libcutils",
134 "libhidladapter",
135 "android.hardware.boot@1.0",
136 "android.hidl.base@1.0-adapter-helper",
137 ],
138 export_shared_lib_headers: [
139 "libhidlbase",
140 "libhidltransport",
141 "libhwbinder",
142 "libutils",
143 "libhidladapter",
144 "android.hardware.boot@1.0",
145 "android.hidl.base@1.0-adapter-helper",
146 ],
147}
148
149genrule {
150 name: "android.hardware.boot@1.0-adapter_genc++",
151 tools: ["hidl-gen"],
152 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700153 out: ["main.cpp"]
154}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700155
156cc_test {
157 name: "android.hardware.boot@1.0-adapter",
Steven Moreland527fd762017-10-04 12:47:03 -0700158 defaults: ["hidl-module-defaults"],
Steven Moreland26a0bb22017-09-22 14:10:47 -0700159 shared_libs: [
160 "libhidladapter",
161 "libhidlbase",
162 "libhidltransport",
163 "libutils",
164 "android.hardware.boot@1.0",
165 "android.hardware.boot@1.0-adapter-helper",
166 ],
167 generated_sources: ["android.hardware.boot@1.0-adapter_genc++"],
168}