blob: 1a7f904244f2a56553344f118079781eb7547fc9 [file] [log] [blame]
Tomasz Wasilczykf679e8b2017-09-14 09:43:35 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.broadcastradio@1.2_hal",
5 srcs: [
6 "types.hal",
7 "IBroadcastRadioFactory.hal",
8 "ITuner.hal",
9 "ITunerCallback.hal",
10 ],
11}
12
13genrule {
14 name: "android.hardware.broadcastradio@1.2_genc++",
15 tools: ["hidl-gen"],
16 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.2",
17 srcs: [
18 ":android.hardware.broadcastradio@1.2_hal",
19 ],
20 out: [
21 "android/hardware/broadcastradio/1.2/types.cpp",
22 "android/hardware/broadcastradio/1.2/BroadcastRadioFactoryAll.cpp",
23 "android/hardware/broadcastradio/1.2/TunerAll.cpp",
24 "android/hardware/broadcastradio/1.2/TunerCallbackAll.cpp",
25 ],
26}
27
28genrule {
29 name: "android.hardware.broadcastradio@1.2_genc++_headers",
30 tools: ["hidl-gen"],
31 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.2",
32 srcs: [
33 ":android.hardware.broadcastradio@1.2_hal",
34 ],
35 out: [
36 "android/hardware/broadcastradio/1.2/types.h",
37 "android/hardware/broadcastradio/1.2/hwtypes.h",
38 "android/hardware/broadcastradio/1.2/IBroadcastRadioFactory.h",
39 "android/hardware/broadcastradio/1.2/IHwBroadcastRadioFactory.h",
40 "android/hardware/broadcastradio/1.2/BnHwBroadcastRadioFactory.h",
41 "android/hardware/broadcastradio/1.2/BpHwBroadcastRadioFactory.h",
42 "android/hardware/broadcastradio/1.2/BsBroadcastRadioFactory.h",
43 "android/hardware/broadcastradio/1.2/ITuner.h",
44 "android/hardware/broadcastradio/1.2/IHwTuner.h",
45 "android/hardware/broadcastradio/1.2/BnHwTuner.h",
46 "android/hardware/broadcastradio/1.2/BpHwTuner.h",
47 "android/hardware/broadcastradio/1.2/BsTuner.h",
48 "android/hardware/broadcastradio/1.2/ITunerCallback.h",
49 "android/hardware/broadcastradio/1.2/IHwTunerCallback.h",
50 "android/hardware/broadcastradio/1.2/BnHwTunerCallback.h",
51 "android/hardware/broadcastradio/1.2/BpHwTunerCallback.h",
52 "android/hardware/broadcastradio/1.2/BsTunerCallback.h",
53 ],
54}
55
56cc_library {
57 name: "android.hardware.broadcastradio@1.2",
58 defaults: ["hidl-module-defaults"],
59 generated_sources: ["android.hardware.broadcastradio@1.2_genc++"],
60 generated_headers: ["android.hardware.broadcastradio@1.2_genc++_headers"],
61 export_generated_headers: ["android.hardware.broadcastradio@1.2_genc++_headers"],
62 vendor_available: true,
63 vndk: {
64 enabled: true,
65 },
66 shared_libs: [
67 "libhidlbase",
68 "libhidltransport",
69 "libhwbinder",
70 "liblog",
71 "libutils",
72 "libcutils",
73 "android.hardware.broadcastradio@1.0",
74 "android.hardware.broadcastradio@1.1",
75 ],
76 export_shared_lib_headers: [
77 "libhidlbase",
78 "libhidltransport",
79 "libhwbinder",
80 "libutils",
81 "android.hardware.broadcastradio@1.0",
82 "android.hardware.broadcastradio@1.1",
83 ],
84}
Steven Morelandf390f032017-10-11 11:09:24 -070085
86// This package is not java compatible. Not creating java target.
87
88// This package does not export any types. Not creating java constants export.
89
90
91genrule {
92 name: "android.hardware.broadcastradio@1.2-adapter-helper_genc++",
93 tools: ["hidl-gen"],
94 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.2",
95 srcs: [
96 ":android.hardware.broadcastradio@1.2_hal",
97 ],
98 out: [
99 "android/hardware/broadcastradio/1.2/ABroadcastRadioFactory.cpp",
100 "android/hardware/broadcastradio/1.2/ATuner.cpp",
101 "android/hardware/broadcastradio/1.2/ATunerCallback.cpp",
102 ],
103}
104
105genrule {
106 name: "android.hardware.broadcastradio@1.2-adapter-helper_genc++_headers",
107 tools: ["hidl-gen"],
108 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.2",
109 srcs: [
110 ":android.hardware.broadcastradio@1.2_hal",
111 ],
112 out: [
113 "android/hardware/broadcastradio/1.2/ABroadcastRadioFactory.h",
114 "android/hardware/broadcastradio/1.2/ATuner.h",
115 "android/hardware/broadcastradio/1.2/ATunerCallback.h",
116 ],
117}
118
119cc_library {
120 name: "android.hardware.broadcastradio@1.2-adapter-helper",
121 defaults: ["hidl-module-defaults"],
122 generated_sources: ["android.hardware.broadcastradio@1.2-adapter-helper_genc++"],
123 generated_headers: ["android.hardware.broadcastradio@1.2-adapter-helper_genc++_headers"],
124 export_generated_headers: ["android.hardware.broadcastradio@1.2-adapter-helper_genc++_headers"],
125 vendor_available: true,
126 shared_libs: [
127 "libhidlbase",
128 "libhidltransport",
129 "libhwbinder",
130 "liblog",
131 "libutils",
132 "libcutils",
133 "libhidladapter",
134 "android.hardware.broadcastradio@1.0",
135 "android.hardware.broadcastradio@1.1",
136 "android.hardware.broadcastradio@1.2",
137 "android.hardware.broadcastradio@1.0-adapter-helper",
138 "android.hardware.broadcastradio@1.1-adapter-helper",
139 "android.hidl.base@1.0-adapter-helper",
140 ],
141 export_shared_lib_headers: [
142 "libhidlbase",
143 "libhidltransport",
144 "libhwbinder",
145 "libutils",
146 "libhidladapter",
147 "android.hardware.broadcastradio@1.0",
148 "android.hardware.broadcastradio@1.1",
149 "android.hardware.broadcastradio@1.2",
150 "android.hardware.broadcastradio@1.0-adapter-helper",
151 "android.hardware.broadcastradio@1.1-adapter-helper",
152 "android.hidl.base@1.0-adapter-helper",
153 ],
154}
155
156genrule {
157 name: "android.hardware.broadcastradio@1.2-adapter_genc++",
158 tools: ["hidl-gen"],
159 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.2",
160 out: ["main.cpp"]
161}
162
163cc_test {
164 name: "android.hardware.broadcastradio@1.2-adapter",
165 defaults: ["hidl-module-defaults"],
166 shared_libs: [
167 "libhidladapter",
168 "libhidlbase",
169 "libhidltransport",
170 "libutils",
171 "android.hardware.broadcastradio@1.0",
172 "android.hardware.broadcastradio@1.1",
173 "android.hardware.broadcastradio@1.2",
174 "android.hardware.broadcastradio@1.2-adapter-helper",
175 ],
176 generated_sources: ["android.hardware.broadcastradio@1.2-adapter_genc++"],
177}