blob: 2ac549867c29d14f9e070354b72eb04fa3f4c39a [file] [log] [blame]
Alex Deymo6e0c0102016-09-30 19:00:40 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3genrule {
4 name: "android.hardware.boot@1.0_genc++",
Colin Cross8f084e02016-11-04 15:02:42 -07005 tools: ["hidl-gen"],
Yifan Honge19e5822016-11-28 16:09:37 -08006 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
Alex Deymo6e0c0102016-09-30 19:00:40 -07007 srcs: [
8 "types.hal",
9 "IBootControl.hal",
10 ],
11 out: [
12 "android/hardware/boot/1.0/types.cpp",
13 "android/hardware/boot/1.0/BootControlAll.cpp",
14 ],
15}
16
17genrule {
18 name: "android.hardware.boot@1.0_genc++_headers",
Colin Cross8f084e02016-11-04 15:02:42 -070019 tools: ["hidl-gen"],
Yifan Honge19e5822016-11-28 16:09:37 -080020 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
Alex Deymo6e0c0102016-09-30 19:00:40 -070021 srcs: [
22 "types.hal",
23 "IBootControl.hal",
24 ],
25 out: [
26 "android/hardware/boot/1.0/types.h",
27 "android/hardware/boot/1.0/IBootControl.h",
28 "android/hardware/boot/1.0/IHwBootControl.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080029 "android/hardware/boot/1.0/BnHwBootControl.h",
30 "android/hardware/boot/1.0/BpHwBootControl.h",
Alex Deymo6e0c0102016-09-30 19:00:40 -070031 "android/hardware/boot/1.0/BsBootControl.h",
32 ],
33}
34
35cc_library_shared {
36 name: "android.hardware.boot@1.0",
37 generated_sources: ["android.hardware.boot@1.0_genc++"],
38 generated_headers: ["android.hardware.boot@1.0_genc++_headers"],
39 export_generated_headers: ["android.hardware.boot@1.0_genc++_headers"],
40 shared_libs: [
Yifan Hong63544ea2016-11-16 14:17:58 -080041 "libhidlbase",
42 "libhidltransport",
Alex Deymo6e0c0102016-09-30 19:00:40 -070043 "libhwbinder",
Steven Moreland3e3a0992016-11-21 16:19:57 -080044 "liblog",
Alex Deymo6e0c0102016-09-30 19:00:40 -070045 "libutils",
46 "libcutils",
Yifan Honge19e5822016-11-28 16:09:37 -080047 "android.hidl.base@1.0",
Alex Deymo6e0c0102016-09-30 19:00:40 -070048 ],
Steven Moreland79820582016-11-01 13:04:54 -070049 export_shared_lib_headers: [
Yifan Hong63544ea2016-11-16 14:17:58 -080050 "libhidlbase",
51 "libhidltransport",
Steven Moreland79820582016-11-01 13:04:54 -070052 "libhwbinder",
53 "libutils",
Yifan Honge19e5822016-11-28 16:09:37 -080054 "android.hidl.base@1.0",
Steven Morelandce977942016-10-21 13:40:54 -070055 ],
Alex Deymo6e0c0102016-09-30 19:00:40 -070056}
Yifan Hongfead19a2017-01-10 11:18:00 -080057
58genrule {
59 name: "android.hardware.boot.vts.driver@1.0_genc++",
60 tools: ["hidl-gen", "vtsc"],
61 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
62 srcs: [
63 "types.hal",
64 "IBootControl.hal",
65 ],
66 out: [
67 "android/hardware/boot/1.0/types.vts.cpp",
68 "android/hardware/boot/1.0/BootControl.vts.cpp",
69 ],
70}
71
72genrule {
73 name: "android.hardware.boot.vts.driver@1.0_genc++_headers",
74 tools: ["hidl-gen", "vtsc"],
75 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
76 srcs: [
77 "types.hal",
78 "IBootControl.hal",
79 ],
80 out: [
81 "android/hardware/boot/1.0/types.vts.h",
82 "android/hardware/boot/1.0/BootControl.vts.h",
83 ],
84}
85
86cc_library_shared {
87 name: "android.hardware.boot.vts.driver@1.0",
88 generated_sources: ["android.hardware.boot.vts.driver@1.0_genc++"],
89 generated_headers: ["android.hardware.boot.vts.driver@1.0_genc++_headers"],
90 export_generated_headers: ["android.hardware.boot.vts.driver@1.0_genc++_headers"],
91 shared_libs: [
92 "libhidlbase",
93 "libhidltransport",
94 "libhwbinder",
95 "liblog",
96 "libutils",
97 "libcutils",
98 "libvts_common",
99 "libvts_datatype",
100 "libvts_measurement",
101 "libvts_multidevice_proto",
102 "libcamera_metadata",
103 "libprotobuf-cpp-full",
104 "android.hidl.base@1.0",
105 "android.hardware.boot@1.0",
106 ],
107 export_shared_lib_headers: [
108 "libhidlbase",
109 "libhidltransport",
110 "libhwbinder",
111 "libutils",
112 "android.hidl.base@1.0",
113 ],
114}
115
116genrule {
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800117 name: "android.hardware.boot@1.0-vts.profiler_genc++",
Yifan Hongfead19a2017-01-10 11:18:00 -0800118 tools: ["hidl-gen", "vtsc"],
119 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
120 srcs: [
Yifan Hongfead19a2017-01-10 11:18:00 -0800121 "types.hal",
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800122 "IBootControl.hal",
Yifan Hongfead19a2017-01-10 11:18:00 -0800123 ],
124 out: [
Yifan Hongfead19a2017-01-10 11:18:00 -0800125 "android/hardware/boot/1.0/types.vts.cpp",
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800126 "android/hardware/boot/1.0/BootControl.vts.cpp",
Yifan Hongfead19a2017-01-10 11:18:00 -0800127 ],
128}
129
130genrule {
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800131 name: "android.hardware.boot@1.0-vts.profiler_genc++_headers",
Yifan Hongfead19a2017-01-10 11:18:00 -0800132 tools: ["hidl-gen", "vtsc"],
133 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/boot/1.0/ $(genDir)/android/hardware/boot/1.0/",
134 srcs: [
Yifan Hongfead19a2017-01-10 11:18:00 -0800135 "types.hal",
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800136 "IBootControl.hal",
Yifan Hongfead19a2017-01-10 11:18:00 -0800137 ],
138 out: [
Yifan Hongfead19a2017-01-10 11:18:00 -0800139 "android/hardware/boot/1.0/types.vts.h",
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800140 "android/hardware/boot/1.0/BootControl.vts.h",
Yifan Hongfead19a2017-01-10 11:18:00 -0800141 ],
142}
143
144cc_library_shared {
Zhuoyao Zhangbd752892017-02-01 20:53:21 -0800145 name: "android.hardware.boot@1.0-vts.profiler",
146 generated_sources: ["android.hardware.boot@1.0-vts.profiler_genc++"],
147 generated_headers: ["android.hardware.boot@1.0-vts.profiler_genc++_headers"],
148 export_generated_headers: ["android.hardware.boot@1.0-vts.profiler_genc++_headers"],
Yifan Hongfead19a2017-01-10 11:18:00 -0800149 shared_libs: [
150 "libbase",
151 "libhidlbase",
152 "libhidltransport",
153 "libvts_profiling",
154 "libvts_multidevice_proto",
155 "libprotobuf-cpp-full",
156 "android.hidl.base@1.0",
157 "android.hardware.boot@1.0",
158 ],
159}