1// Autogenerated via gen_android_bp.py
2//
3// Copyright (C) 2024 The Android Open Source Project
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9//      http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17// NOTE: Using cc_prebuilt_binary because cc_prebuilt_library will add
18//       unwanted .so file extensions when installing shared libraries
19
20prebuilt_usr_share_host {
21  name: "aarch64_efi-virtio.rom_resource_for_qemu",
22  src: "qemu/aarch64-linux-gnu/usr/share/qemu/efi-virtio.rom",
23  filename: "efi-virtio.rom",
24  sub_dir: "qemu/aarch64-linux-gnu",
25}
26prebuilt_usr_share_host {
27  name: "aarch64_en-us_resource_for_qemu",
28  src: "qemu/aarch64-linux-gnu/usr/share/qemu/keymaps/en-us",
29  filename: "en-us",
30  sub_dir: "qemu/aarch64-linux-gnu/keymaps",
31}
32cc_prebuilt_binary {
33  name: "aarch64_linux_gnu_crosvm",
34  srcs: ["aarch64-linux-gnu/bin/crosvm"],
35  stem: "crosvm",
36  relative_install_path: "aarch64-linux-gnu",
37  defaults: ["cuttlefish_host"],
38  check_elf_files: false,
39}
40cc_prebuilt_binary {
41  name: "aarch64_linux_gnu_gfxstream_graphics_detector_for_crosvm",
42  srcs: ["aarch64-linux-gnu/bin/gfxstream_graphics_detector"],
43  stem: "gfxstream_graphics_detector",
44  relative_install_path: "aarch64-linux-gnu",
45  defaults: ["cuttlefish_host"],
46  check_elf_files: false,
47}
48cc_prebuilt_binary {
49  name: "aarch64_linux_gnu_libc++.so.1_binary_for_qemu",
50  srcs: ["qemu/aarch64-linux-gnu/bin/libc++.so.1"],
51  stem: "libc++.so.1",
52  relative_install_path: "aarch64-linux-gnu/qemu",
53  defaults: ["cuttlefish_host"],
54  check_elf_files: false,
55}
56cc_prebuilt_binary {
57  name: "aarch64_linux_gnu_libc++abi.so.1_binary_for_qemu",
58  srcs: ["qemu/aarch64-linux-gnu/bin/libc++abi.so.1"],
59  stem: "libc++abi.so.1",
60  relative_install_path: "aarch64-linux-gnu/qemu",
61  defaults: ["cuttlefish_host"],
62  check_elf_files: false,
63}
64cc_prebuilt_binary {
65  name: "aarch64_linux_gnu_libdrm.so.2_for_crosvm",
66  srcs: ["aarch64-linux-gnu/bin/libdrm.so.2"],
67  stem: "libdrm.so.2",
68  relative_install_path: "aarch64-linux-gnu",
69  defaults: ["cuttlefish_host"],
70  check_elf_files: false,
71}
72cc_prebuilt_binary {
73  name: "aarch64_linux_gnu_libepoxy.so.0_binary_for_qemu",
74  srcs: ["qemu/aarch64-linux-gnu/bin/libepoxy.so.0"],
75  stem: "libepoxy.so.0",
76  relative_install_path: "aarch64-linux-gnu/qemu",
77  defaults: ["cuttlefish_host"],
78  check_elf_files: false,
79}
80cc_prebuilt_binary {
81  name: "aarch64_linux_gnu_libepoxy.so.0_for_crosvm",
82  srcs: ["aarch64-linux-gnu/bin/libepoxy.so.0"],
83  stem: "libepoxy.so.0",
84  relative_install_path: "aarch64-linux-gnu",
85  defaults: ["cuttlefish_host"],
86  check_elf_files: false,
87}
88cc_prebuilt_binary {
89  name: "aarch64_linux_gnu_libffi.so.7_for_crosvm",
90  srcs: ["aarch64-linux-gnu/bin/libffi.so.7"],
91  stem: "libffi.so.7",
92  relative_install_path: "aarch64-linux-gnu",
93  defaults: ["cuttlefish_host"],
94  check_elf_files: false,
95}
96cc_prebuilt_binary {
97  name: "aarch64_linux_gnu_libgbm.so.1_binary_for_qemu",
98  srcs: ["qemu/aarch64-linux-gnu/bin/libgbm.so.1"],
99  stem: "libgbm.so.1",
100  relative_install_path: "aarch64-linux-gnu/qemu",
101  defaults: ["cuttlefish_host"],
102  check_elf_files: false,
103}
104cc_prebuilt_binary {
105  name: "aarch64_linux_gnu_libgbm.so.1_for_crosvm",
106  srcs: ["aarch64-linux-gnu/bin/libgbm.so.1"],
107  stem: "libgbm.so.1",
108  relative_install_path: "aarch64-linux-gnu",
109  defaults: ["cuttlefish_host"],
110  check_elf_files: false,
111}
112cc_prebuilt_binary {
113  name: "aarch64_linux_gnu_libgfxstream_backend.so.0_binary_for_qemu",
114  srcs: ["qemu/aarch64-linux-gnu/bin/libgfxstream_backend.so.0"],
115  stem: "libgfxstream_backend.so.0",
116  relative_install_path: "aarch64-linux-gnu/qemu",
117  defaults: ["cuttlefish_host"],
118  check_elf_files: false,
119}
120cc_prebuilt_binary {
121  name: "aarch64_linux_gnu_libgfxstream_backend.so_for_crosvm",
122  srcs: ["aarch64-linux-gnu/bin/libgfxstream_backend.so"],
123  stem: "libgfxstream_backend.so",
124  relative_install_path: "aarch64-linux-gnu",
125  defaults: ["cuttlefish_host"],
126  check_elf_files: false,
127}
128cc_prebuilt_binary {
129  name: "aarch64_linux_gnu_libminijail.so_for_crosvm",
130  srcs: ["aarch64-linux-gnu/bin/libminijail.so"],
131  stem: "libminijail.so",
132  relative_install_path: "aarch64-linux-gnu",
133  defaults: ["cuttlefish_host"],
134  check_elf_files: false,
135}
136cc_prebuilt_binary {
137  name: "aarch64_linux_gnu_librutabaga_gfx_ffi.so.0_binary_for_qemu",
138  srcs: ["qemu/aarch64-linux-gnu/bin/librutabaga_gfx_ffi.so.0"],
139  stem: "librutabaga_gfx_ffi.so.0",
140  relative_install_path: "aarch64-linux-gnu/qemu",
141  defaults: ["cuttlefish_host"],
142  check_elf_files: false,
143}
144cc_prebuilt_binary {
145  name: "aarch64_linux_gnu_libunwind.so.1_binary_for_qemu",
146  srcs: ["qemu/aarch64-linux-gnu/bin/libunwind.so.1"],
147  stem: "libunwind.so.1",
148  relative_install_path: "aarch64-linux-gnu/qemu",
149  defaults: ["cuttlefish_host"],
150  check_elf_files: false,
151}
152cc_prebuilt_binary {
153  name: "aarch64_linux_gnu_libvirglrenderer.so.1_binary_for_qemu",
154  srcs: ["qemu/aarch64-linux-gnu/bin/libvirglrenderer.so.1"],
155  stem: "libvirglrenderer.so.1",
156  relative_install_path: "aarch64-linux-gnu/qemu",
157  defaults: ["cuttlefish_host"],
158  check_elf_files: false,
159}
160cc_prebuilt_binary {
161  name: "aarch64_linux_gnu_libvirglrenderer.so.1_for_crosvm",
162  srcs: ["aarch64-linux-gnu/bin/libvirglrenderer.so.1"],
163  stem: "libvirglrenderer.so.1",
164  relative_install_path: "aarch64-linux-gnu",
165  defaults: ["cuttlefish_host"],
166  check_elf_files: false,
167}
168cc_prebuilt_binary {
169  name: "aarch64_linux_gnu_libwayland_client.so.0_for_crosvm",
170  srcs: ["aarch64-linux-gnu/bin/libwayland-client.so.0"],
171  stem: "libwayland-client.so.0",
172  relative_install_path: "aarch64-linux-gnu",
173  defaults: ["cuttlefish_host"],
174  check_elf_files: false,
175}
176cc_prebuilt_binary {
177  name: "aarch64_linux_gnu_libz.so.1_binary_for_qemu",
178  srcs: ["qemu/aarch64-linux-gnu/bin/libz.so.1"],
179  stem: "libz.so.1",
180  relative_install_path: "aarch64-linux-gnu/qemu",
181  defaults: ["cuttlefish_host"],
182  check_elf_files: false,
183}
184cc_prebuilt_binary {
185  name: "aarch64_linux_gnu_qemu-system-aarch64_binary_for_qemu",
186  srcs: ["qemu/aarch64-linux-gnu/bin/qemu-system-aarch64"],
187  stem: "qemu-system-aarch64",
188  relative_install_path: "aarch64-linux-gnu/qemu",
189  defaults: ["cuttlefish_host"],
190  check_elf_files: false,
191}
192cc_prebuilt_binary {
193  name: "aarch64_linux_gnu_qemu-system-riscv64_binary_for_qemu",
194  srcs: ["qemu/aarch64-linux-gnu/bin/qemu-system-riscv64"],
195  stem: "qemu-system-riscv64",
196  relative_install_path: "aarch64-linux-gnu/qemu",
197  defaults: ["cuttlefish_host"],
198  check_elf_files: false,
199}
200cc_prebuilt_binary {
201  name: "aarch64_linux_gnu_qemu-system-x86_64_binary_for_qemu",
202  srcs: ["qemu/aarch64-linux-gnu/bin/qemu-system-x86_64"],
203  stem: "qemu-system-x86_64",
204  relative_install_path: "aarch64-linux-gnu/qemu",
205  defaults: ["cuttlefish_host"],
206  check_elf_files: false,
207}
208prebuilt_usr_share_host {
209  name: "aarch64_opensbi-riscv64-generic-fw_dynamic.bin_resource_for_qemu",
210  src: "qemu/aarch64-linux-gnu/usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin",
211  filename: "opensbi-riscv64-generic-fw_dynamic.bin",
212  sub_dir: "qemu/aarch64-linux-gnu",
213}
214prebuilt_usr_share_host {
215  name: "x86_64_efi-virtio.rom_resource_for_qemu",
216  src: "qemu/x86_64-linux-gnu/usr/share/qemu/efi-virtio.rom",
217  filename: "efi-virtio.rom",
218  sub_dir: "qemu/x86_64-linux-gnu",
219}
220prebuilt_usr_share_host {
221  name: "x86_64_en-us_resource_for_qemu",
222  src: "qemu/x86_64-linux-gnu/usr/share/qemu/keymaps/en-us",
223  filename: "en-us",
224  sub_dir: "qemu/x86_64-linux-gnu/keymaps",
225}
226// Note: This is commented out to avoid a conflict with the binary built
227// from external/crosvm. This should be uncommented out when backporting to
228// older branches with just use the prebuilt and which do not build from
229// source.
230// cc_prebuilt_binary {
231//   name: "x86_64_linux_gnu_crosvm",
232//   srcs: ["x86_64-linux-gnu/bin/crosvm"],
233//   stem: "crosvm",
234//   relative_install_path: "x86_64-linux-gnu",
235//   defaults: ["cuttlefish_host"],
236//   check_elf_files: false,
237// }
238cc_prebuilt_binary {
239  name: "x86_64_linux_gnu_gfxstream_graphics_detector_for_crosvm",
240  srcs: ["x86_64-linux-gnu/bin/gfxstream_graphics_detector"],
241  stem: "gfxstream_graphics_detector",
242  relative_install_path: "x86_64-linux-gnu",
243  defaults: ["cuttlefish_host"],
244  check_elf_files: false,
245}
246cc_prebuilt_binary {
247  name: "x86_64_linux_gnu_libc++.so.1_binary_for_qemu",
248  srcs: ["qemu/x86_64-linux-gnu/bin/libc++.so.1"],
249  stem: "libc++.so.1",
250  relative_install_path: "x86_64-linux-gnu/qemu",
251  defaults: ["cuttlefish_host"],
252  check_elf_files: false,
253}
254cc_prebuilt_binary {
255  name: "x86_64_linux_gnu_libdrm.so.2_for_crosvm",
256  srcs: ["x86_64-linux-gnu/bin/libdrm.so.2"],
257  stem: "libdrm.so.2",
258  relative_install_path: "x86_64-linux-gnu",
259  defaults: ["cuttlefish_host"],
260  check_elf_files: false,
261}
262cc_prebuilt_binary {
263  name: "x86_64_linux_gnu_libepoxy.so.0_binary_for_qemu",
264  srcs: ["qemu/x86_64-linux-gnu/bin/libepoxy.so.0"],
265  stem: "libepoxy.so.0",
266  relative_install_path: "x86_64-linux-gnu/qemu",
267  defaults: ["cuttlefish_host"],
268  check_elf_files: false,
269}
270cc_prebuilt_binary {
271  name: "x86_64_linux_gnu_libepoxy.so.0_for_crosvm",
272  srcs: ["x86_64-linux-gnu/bin/libepoxy.so.0"],
273  stem: "libepoxy.so.0",
274  relative_install_path: "x86_64-linux-gnu",
275  defaults: ["cuttlefish_host"],
276  check_elf_files: false,
277}
278cc_prebuilt_binary {
279  name: "x86_64_linux_gnu_libffi.so.7_for_crosvm",
280  srcs: ["x86_64-linux-gnu/bin/libffi.so.7"],
281  stem: "libffi.so.7",
282  relative_install_path: "x86_64-linux-gnu",
283  defaults: ["cuttlefish_host"],
284  check_elf_files: false,
285}
286cc_prebuilt_binary {
287  name: "x86_64_linux_gnu_libgbm.so.1_binary_for_qemu",
288  srcs: ["qemu/x86_64-linux-gnu/bin/libgbm.so.1"],
289  stem: "libgbm.so.1",
290  relative_install_path: "x86_64-linux-gnu/qemu",
291  defaults: ["cuttlefish_host"],
292  check_elf_files: false,
293}
294cc_prebuilt_binary {
295  name: "x86_64_linux_gnu_libgbm.so.1_for_crosvm",
296  srcs: ["x86_64-linux-gnu/bin/libgbm.so.1"],
297  stem: "libgbm.so.1",
298  relative_install_path: "x86_64-linux-gnu",
299  defaults: ["cuttlefish_host"],
300  check_elf_files: false,
301}
302cc_prebuilt_binary {
303  name: "x86_64_linux_gnu_libgfxstream_backend.so.0_binary_for_qemu",
304  srcs: ["qemu/x86_64-linux-gnu/bin/libgfxstream_backend.so.0"],
305  stem: "libgfxstream_backend.so.0",
306  relative_install_path: "x86_64-linux-gnu/qemu",
307  defaults: ["cuttlefish_host"],
308  check_elf_files: false,
309}
310cc_prebuilt_binary {
311  name: "x86_64_linux_gnu_libgfxstream_backend.so_for_crosvm",
312  srcs: ["x86_64-linux-gnu/bin/libgfxstream_backend.so"],
313  stem: "libgfxstream_backend.so",
314  relative_install_path: "x86_64-linux-gnu",
315  defaults: ["cuttlefish_host"],
316  check_elf_files: false,
317}
318cc_prebuilt_binary {
319  name: "x86_64_linux_gnu_libminijail.so_for_crosvm",
320  srcs: ["x86_64-linux-gnu/bin/libminijail.so"],
321  stem: "libminijail.so",
322  relative_install_path: "x86_64-linux-gnu",
323  defaults: ["cuttlefish_host"],
324  check_elf_files: false,
325}
326cc_prebuilt_binary {
327  name: "x86_64_linux_gnu_librutabaga_gfx_ffi.so.0_binary_for_qemu",
328  srcs: ["qemu/x86_64-linux-gnu/bin/librutabaga_gfx_ffi.so.0"],
329  stem: "librutabaga_gfx_ffi.so.0",
330  relative_install_path: "x86_64-linux-gnu/qemu",
331  defaults: ["cuttlefish_host"],
332  check_elf_files: false,
333}
334cc_prebuilt_binary {
335  name: "x86_64_linux_gnu_libvirglrenderer.so.1_binary_for_qemu",
336  srcs: ["qemu/x86_64-linux-gnu/bin/libvirglrenderer.so.1"],
337  stem: "libvirglrenderer.so.1",
338  relative_install_path: "x86_64-linux-gnu/qemu",
339  defaults: ["cuttlefish_host"],
340  check_elf_files: false,
341}
342cc_prebuilt_binary {
343  name: "x86_64_linux_gnu_libvirglrenderer.so.1_for_crosvm",
344  srcs: ["x86_64-linux-gnu/bin/libvirglrenderer.so.1"],
345  stem: "libvirglrenderer.so.1",
346  relative_install_path: "x86_64-linux-gnu",
347  defaults: ["cuttlefish_host"],
348  check_elf_files: false,
349}
350cc_prebuilt_binary {
351  name: "x86_64_linux_gnu_libwayland_client.so.0_for_crosvm",
352  srcs: ["x86_64-linux-gnu/bin/libwayland-client.so.0"],
353  stem: "libwayland-client.so.0",
354  relative_install_path: "x86_64-linux-gnu",
355  defaults: ["cuttlefish_host"],
356  check_elf_files: false,
357}
358cc_prebuilt_binary {
359  name: "x86_64_linux_gnu_libz.so.1_binary_for_qemu",
360  srcs: ["qemu/x86_64-linux-gnu/bin/libz.so.1"],
361  stem: "libz.so.1",
362  relative_install_path: "x86_64-linux-gnu/qemu",
363  defaults: ["cuttlefish_host"],
364  check_elf_files: false,
365}
366cc_prebuilt_binary {
367  name: "x86_64_linux_gnu_qemu-system-aarch64_binary_for_qemu",
368  srcs: ["qemu/x86_64-linux-gnu/bin/qemu-system-aarch64"],
369  stem: "qemu-system-aarch64",
370  relative_install_path: "x86_64-linux-gnu/qemu",
371  defaults: ["cuttlefish_host"],
372  check_elf_files: false,
373}
374cc_prebuilt_binary {
375  name: "x86_64_linux_gnu_qemu-system-riscv64_binary_for_qemu",
376  srcs: ["qemu/x86_64-linux-gnu/bin/qemu-system-riscv64"],
377  stem: "qemu-system-riscv64",
378  relative_install_path: "x86_64-linux-gnu/qemu",
379  defaults: ["cuttlefish_host"],
380  check_elf_files: false,
381}
382cc_prebuilt_binary {
383  name: "x86_64_linux_gnu_qemu-system-x86_64_binary_for_qemu",
384  srcs: ["qemu/x86_64-linux-gnu/bin/qemu-system-x86_64"],
385  stem: "qemu-system-x86_64",
386  relative_install_path: "x86_64-linux-gnu/qemu",
387  defaults: ["cuttlefish_host"],
388  check_elf_files: false,
389}
390prebuilt_usr_share_host {
391  name: "x86_64_opensbi-riscv64-generic-fw_dynamic.bin_resource_for_qemu",
392  src: "qemu/x86_64-linux-gnu/usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin",
393  filename: "opensbi-riscv64-generic-fw_dynamic.bin",
394  sub_dir: "qemu/x86_64-linux-gnu",
395}
396