blob: 08c35aeb1b841c3978ea0d292bd80f92a660d4d7 [file] [log] [blame]
Martin Stjernholmc15e7e42020-12-02 22:50:53 +00001// This is auto-generated. DO NOT EDIT.
2
android-t13d2c5b22022-10-12 13:43:18 +08003// Soong config variable stanza added by vendor/google/build/mainline_modules_sdks.py.
Martin Stjernholm8bd10a02020-12-05 01:47:50 +00004soong_config_module_type_import {
5 from: "prebuilts/module_sdk/art/SoongConfig.bp",
6 module_types: [
7 "art_prebuilt_cc_prebuilt_binary",
Martin Stjernholm4fb51112021-04-30 11:53:52 +01008 "art_prebuilt_cc_prebuilt_library",
Martin Stjernholm8bd10a02020-12-05 01:47:50 +00009 "art_prebuilt_java_import",
10 ],
11}
12
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +010013package {
14 // A default list here prevents the license LSC from adding its own list which would
15 // be unnecessary as every module in the sdk already has its own licenses property.
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Martin Stjernholmc15e7e42020-12-02 22:50:53 +000019java_import {
android-t13d2c5b22022-10-12 13:43:18 +080020 name: "art-module-host-exports_okhttp-norepackage@current",
21 sdk_member_name: "okhttp-norepackage",
22 visibility: [
23 "//art/build/sdk",
24 "//external/grpc-grpc-java/okhttp",
25 "//external/okhttp",
26 "//prebuilts:__subpackages__",
27 ],
28 apex_available: ["//apex_available:platform"],
29 licenses: ["art-module-host-exports_external_okhttp_license@current"],
30 host_supported: true,
31 target: {
32 android: {
33 jars: ["java/android/okhttp-norepackage.jar"],
34 },
35 linux_glibc: {
36 jars: ["java/linux_glibc/okhttp-norepackage.jar"],
37 },
38 },
39}
40
41art_prebuilt_java_import {
42 name: "okhttp-norepackage",
43 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
44 prefer: true,
45 soong_config_variables: {
46 source_build: {
47 prefer: false,
48 },
49 },
50 visibility: [
51 "//art/build/sdk",
52 "//external/grpc-grpc-java/okhttp",
53 "//external/okhttp",
54 "//prebuilts:__subpackages__",
55 ],
56 apex_available: ["//apex_available:platform"],
57 licenses: ["art-module-host-exports_external_okhttp_license"],
58 host_supported: true,
59 target: {
60 android: {
61 jars: ["java/android/okhttp-norepackage.jar"],
62 },
63 linux_glibc: {
64 jars: ["java/linux_glibc/okhttp-norepackage.jar"],
65 },
66 },
67}
68
69java_import {
Martin Stjernholmc15e7e42020-12-02 22:50:53 +000070 name: "art-module-host-exports_art.module.api.annotations@current",
71 sdk_member_name: "art.module.api.annotations",
72 visibility: [
73 "//art/build/sdk",
74 "//external/icu/android_icu4j",
75 "//frameworks/base",
76 "//libcore",
77 "//prebuilts:__subpackages__",
78 ],
79 apex_available: ["//apex_available:platform"],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +010080 licenses: ["art-module-host-exports_libcore_license@current"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +000081 device_supported: false,
82 host_supported: true,
83 jars: ["java/art.module.api.annotations.jar"],
84}
85
Martin Stjernholm8bd10a02020-12-05 01:47:50 +000086art_prebuilt_java_import {
Martin Stjernholmc15e7e42020-12-02 22:50:53 +000087 name: "art.module.api.annotations",
android-t13d2c5b22022-10-12 13:43:18 +080088 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmbc01ff42020-12-15 02:51:58 +000089 prefer: true,
Martin Stjernholm8bd10a02020-12-05 01:47:50 +000090 soong_config_variables: {
91 source_build: {
92 prefer: false,
93 },
94 },
Martin Stjernholmc15e7e42020-12-02 22:50:53 +000095 visibility: [
96 "//art/build/sdk",
97 "//external/icu/android_icu4j",
98 "//frameworks/base",
99 "//libcore",
100 "//prebuilts:__subpackages__",
101 ],
102 apex_available: ["//apex_available:platform"],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100103 licenses: ["art-module-host-exports_libcore_license"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000104 device_supported: false,
105 host_supported: true,
106 jars: ["java/art.module.api.annotations.jar"],
107}
108
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100109license {
110 name: "art-module-host-exports_art_license@current",
111 sdk_member_name: "art_license",
112 visibility: ["//visibility:private"],
113 license_kinds: [
114 "SPDX-license-identifier-Apache-2.0",
115 "SPDX-license-identifier-BSD",
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000116 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100117 license_text: ["licenses/art/NOTICE"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000118}
119
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100120license {
121 name: "art-module-host-exports_art_license",
122 visibility: ["//visibility:private"],
123 license_kinds: [
124 "SPDX-license-identifier-Apache-2.0",
125 "SPDX-license-identifier-BSD",
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000126 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100127 license_text: ["licenses/art/NOTICE"],
128}
129
130license {
android-t13d2c5b22022-10-12 13:43:18 +0800131 name: "art-module-host-exports_external_okhttp_license@current",
132 sdk_member_name: "external_okhttp_license",
133 visibility: ["//visibility:private"],
134 license_kinds: ["SPDX-license-identifier-Apache-2.0"],
135 license_text: ["licenses/external/okhttp/LICENSE.txt"],
136}
137
138license {
139 name: "art-module-host-exports_external_okhttp_license",
140 visibility: ["//visibility:private"],
141 license_kinds: ["SPDX-license-identifier-Apache-2.0"],
142 license_text: ["licenses/external/okhttp/LICENSE.txt"],
143}
144
145license {
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100146 name: "art-module-host-exports_libcore_license@current",
147 sdk_member_name: "libcore_license",
148 visibility: ["//visibility:private"],
149 license_kinds: [
150 "SPDX-license-identifier-Apache-2.0",
151 "SPDX-license-identifier-BSD",
152 "SPDX-license-identifier-GPL",
153 "SPDX-license-identifier-GPL-2.0",
154 "SPDX-license-identifier-LGPL",
155 "SPDX-license-identifier-MIT",
156 "SPDX-license-identifier-OpenSSL",
157 "SPDX-license-identifier-Unicode-DFS",
158 "SPDX-license-identifier-W3C",
159 "legacy_unencumbered",
160 ],
161 license_text: [
162 "licenses/libcore/LICENSE",
163 "licenses/libcore/NOTICE",
164 ],
165}
166
167license {
168 name: "art-module-host-exports_libcore_license",
169 visibility: ["//visibility:private"],
170 license_kinds: [
171 "SPDX-license-identifier-Apache-2.0",
172 "SPDX-license-identifier-BSD",
173 "SPDX-license-identifier-GPL",
174 "SPDX-license-identifier-GPL-2.0",
175 "SPDX-license-identifier-LGPL",
176 "SPDX-license-identifier-MIT",
177 "SPDX-license-identifier-OpenSSL",
178 "SPDX-license-identifier-Unicode-DFS",
179 "SPDX-license-identifier-W3C",
180 "legacy_unencumbered",
181 ],
182 license_text: [
183 "licenses/libcore/LICENSE",
184 "licenses/libcore/NOTICE",
185 ],
186}
187
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000188cc_prebuilt_binary {
189 name: "art-module-host-exports_dex2oat@current",
190 sdk_member_name: "dex2oat",
191 visibility: ["//visibility:public"],
192 apex_available: [
193 "com.android.art",
194 "com.android.art.debug",
195 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100196 licenses: ["art-module-host-exports_art_license@current"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000197 device_supported: false,
198 host_supported: true,
199 installable: false,
200 stl: "c++_static",
201 compile_multilib: "64",
202 target: {
203 host: {
204 enabled: false,
205 },
206 linux_glibc_x86_64: {
207 enabled: true,
208 srcs: ["x86_64/bin/dex2oat64"],
209 },
210 },
211}
212
Martin Stjernholm8bd10a02020-12-05 01:47:50 +0000213art_prebuilt_cc_prebuilt_binary {
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000214 name: "dex2oat",
android-t13d2c5b22022-10-12 13:43:18 +0800215 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmbc01ff42020-12-15 02:51:58 +0000216 prefer: true,
Martin Stjernholm8bd10a02020-12-05 01:47:50 +0000217 soong_config_variables: {
218 source_build: {
219 prefer: false,
220 },
221 },
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000222 visibility: ["//visibility:public"],
223 apex_available: [
224 "com.android.art",
225 "com.android.art.debug",
226 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100227 licenses: ["art-module-host-exports_art_license"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000228 device_supported: false,
229 host_supported: true,
230 stl: "c++_static",
231 compile_multilib: "64",
232 target: {
233 host: {
234 enabled: false,
235 },
236 linux_glibc_x86_64: {
237 enabled: true,
238 srcs: ["x86_64/bin/dex2oat64"],
239 },
240 },
241}
242
243cc_prebuilt_binary {
244 name: "art-module-host-exports_dex2oatd@current",
245 sdk_member_name: "dex2oatd",
246 visibility: ["//visibility:public"],
247 apex_available: ["com.android.art.debug"],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100248 licenses: ["art-module-host-exports_art_license@current"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000249 device_supported: false,
250 host_supported: true,
251 installable: false,
252 stl: "c++_static",
253 compile_multilib: "64",
254 target: {
255 host: {
256 enabled: false,
257 },
258 linux_glibc_x86_64: {
259 enabled: true,
260 srcs: ["x86_64/bin/dex2oatd64"],
261 },
262 },
263}
264
Martin Stjernholm8bd10a02020-12-05 01:47:50 +0000265art_prebuilt_cc_prebuilt_binary {
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000266 name: "dex2oatd",
android-t13d2c5b22022-10-12 13:43:18 +0800267 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmbc01ff42020-12-15 02:51:58 +0000268 prefer: true,
Martin Stjernholm8bd10a02020-12-05 01:47:50 +0000269 soong_config_variables: {
270 source_build: {
271 prefer: false,
272 },
273 },
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000274 visibility: ["//visibility:public"],
275 apex_available: ["com.android.art.debug"],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100276 licenses: ["art-module-host-exports_art_license"],
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000277 device_supported: false,
278 host_supported: true,
279 stl: "c++_static",
280 compile_multilib: "64",
281 target: {
282 host: {
283 enabled: false,
284 },
285 linux_glibc_x86_64: {
286 enabled: true,
287 srcs: ["x86_64/bin/dex2oatd64"],
288 },
289 },
290}
291
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100292cc_prebuilt_binary {
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100293 name: "art-module-host-exports_dexdump@current",
294 sdk_member_name: "dexdump",
295 visibility: [
296 "//art:__subpackages__",
android-t13d2c5b22022-10-12 13:43:18 +0800297 "//development/build",
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100298 "//prebuilts:__subpackages__",
299 ],
300 apex_available: [
301 "com.android.art",
302 "com.android.art.debug",
303 ],
304 licenses: ["art-module-host-exports_art_license@current"],
305 device_supported: false,
306 host_supported: true,
307 installable: false,
308 stl: "libc++_static",
309 compile_multilib: "64",
310 target: {
311 host: {
312 enabled: false,
313 },
314 linux_glibc_x86_64: {
315 enabled: true,
316 srcs: ["x86_64/bin/dexdump"],
317 },
318 },
319}
320
321art_prebuilt_cc_prebuilt_binary {
322 name: "dexdump",
android-t13d2c5b22022-10-12 13:43:18 +0800323 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100324 prefer: true,
325 soong_config_variables: {
326 source_build: {
327 prefer: false,
328 },
329 },
330 visibility: [
331 "//art:__subpackages__",
android-t13d2c5b22022-10-12 13:43:18 +0800332 "//development/build",
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100333 "//prebuilts:__subpackages__",
334 ],
335 apex_available: [
336 "com.android.art",
337 "com.android.art.debug",
338 ],
339 licenses: ["art-module-host-exports_art_license"],
340 device_supported: false,
341 host_supported: true,
342 stl: "libc++_static",
343 compile_multilib: "64",
344 target: {
345 host: {
346 enabled: false,
347 },
348 linux_glibc_x86_64: {
349 enabled: true,
350 srcs: ["x86_64/bin/dexdump"],
351 },
352 },
353}
354
355cc_prebuilt_binary {
356 name: "art-module-host-exports_hiddenapi@current",
357 sdk_member_name: "hiddenapi",
358 visibility: [
359 "//art:__subpackages__",
360 "//prebuilts:__subpackages__",
361 ],
362 apex_available: ["//apex_available:platform"],
363 licenses: ["art-module-host-exports_art_license@current"],
364 device_supported: false,
365 host_supported: true,
366 installable: false,
367 stl: "c++_static",
368 compile_multilib: "64",
369 target: {
370 host: {
371 enabled: false,
372 },
373 linux_glibc_x86_64: {
374 enabled: true,
375 srcs: ["x86_64/bin/hiddenapi"],
376 },
377 },
378}
379
380art_prebuilt_cc_prebuilt_binary {
381 name: "hiddenapi",
android-t13d2c5b22022-10-12 13:43:18 +0800382 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100383 prefer: true,
384 soong_config_variables: {
385 source_build: {
386 prefer: false,
387 },
388 },
389 visibility: [
390 "//art:__subpackages__",
391 "//prebuilts:__subpackages__",
392 ],
393 apex_available: ["//apex_available:platform"],
394 licenses: ["art-module-host-exports_art_license"],
395 device_supported: false,
396 host_supported: true,
397 stl: "c++_static",
398 compile_multilib: "64",
399 target: {
400 host: {
401 enabled: false,
402 },
403 linux_glibc_x86_64: {
404 enabled: true,
405 srcs: ["x86_64/bin/hiddenapi"],
406 },
407 },
408}
409
410cc_prebuilt_binary {
411 name: "art-module-host-exports_oatdump@current",
412 sdk_member_name: "oatdump",
413 visibility: [
414 "//art:__subpackages__",
415 "//prebuilts:__subpackages__",
416 ],
417 apex_available: [
418 "com.android.art",
419 "com.android.art.debug",
420 ],
421 licenses: ["art-module-host-exports_art_license@current"],
422 device_supported: false,
423 host_supported: true,
424 installable: false,
425 stl: "c++_static",
426 compile_multilib: "64",
427 target: {
428 host: {
429 enabled: false,
430 },
431 linux_glibc_x86_64: {
432 enabled: true,
433 srcs: ["x86_64/bin/oatdump"],
434 },
435 },
436}
437
438art_prebuilt_cc_prebuilt_binary {
439 name: "oatdump",
android-t13d2c5b22022-10-12 13:43:18 +0800440 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100441 prefer: true,
442 soong_config_variables: {
443 source_build: {
444 prefer: false,
445 },
446 },
447 visibility: [
448 "//art:__subpackages__",
449 "//prebuilts:__subpackages__",
450 ],
451 apex_available: [
452 "com.android.art",
453 "com.android.art.debug",
454 ],
455 licenses: ["art-module-host-exports_art_license"],
456 device_supported: false,
457 host_supported: true,
458 stl: "c++_static",
459 compile_multilib: "64",
460 target: {
461 host: {
462 enabled: false,
463 },
464 linux_glibc_x86_64: {
465 enabled: true,
466 srcs: ["x86_64/bin/oatdump"],
467 },
468 },
469}
470
471cc_prebuilt_binary {
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100472 name: "art-module-host-exports_profman@current",
473 sdk_member_name: "profman",
474 visibility: [
475 "//art:__subpackages__",
476 "//prebuilts:__subpackages__",
477 ],
478 apex_available: [
479 "com.android.art",
480 "com.android.art.debug",
481 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100482 licenses: ["art-module-host-exports_art_license@current"],
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100483 device_supported: false,
484 host_supported: true,
485 installable: false,
486 stl: "c++_static",
487 compile_multilib: "64",
488 target: {
489 host: {
490 enabled: false,
491 },
492 linux_glibc_x86_64: {
493 enabled: true,
494 srcs: ["x86_64/bin/profman"],
495 },
496 },
497}
498
499art_prebuilt_cc_prebuilt_binary {
500 name: "profman",
android-t13d2c5b22022-10-12 13:43:18 +0800501 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100502 prefer: true,
503 soong_config_variables: {
504 source_build: {
505 prefer: false,
506 },
507 },
508 visibility: [
509 "//art:__subpackages__",
510 "//prebuilts:__subpackages__",
511 ],
512 apex_available: [
513 "com.android.art",
514 "com.android.art.debug",
515 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100516 licenses: ["art-module-host-exports_art_license"],
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100517 device_supported: false,
518 host_supported: true,
519 stl: "c++_static",
520 compile_multilib: "64",
521 target: {
522 host: {
523 enabled: false,
524 },
525 linux_glibc_x86_64: {
526 enabled: true,
527 srcs: ["x86_64/bin/profman"],
528 },
529 },
530}
531
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100532cc_prebuilt_binary {
533 name: "art-module-host-exports_veridex@current",
534 sdk_member_name: "veridex",
535 visibility: [
536 "//art:__subpackages__",
537 "//prebuilts:__subpackages__",
538 ],
539 apex_available: ["//apex_available:platform"],
540 licenses: ["art-module-host-exports_art_license@current"],
541 device_supported: false,
542 host_supported: true,
543 installable: false,
544 stl: "libc++_static",
545 compile_multilib: "64",
546 target: {
547 host: {
548 enabled: false,
549 },
550 linux_glibc_x86_64: {
551 enabled: true,
552 srcs: ["x86_64/bin/veridex"],
553 },
554 },
555}
556
557art_prebuilt_cc_prebuilt_binary {
558 name: "veridex",
android-t13d2c5b22022-10-12 13:43:18 +0800559 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100560 prefer: true,
561 soong_config_variables: {
562 source_build: {
563 prefer: false,
564 },
565 },
566 visibility: [
567 "//art:__subpackages__",
568 "//prebuilts:__subpackages__",
569 ],
570 apex_available: ["//apex_available:platform"],
571 licenses: ["art-module-host-exports_art_license"],
572 device_supported: false,
573 host_supported: true,
574 stl: "libc++_static",
575 compile_multilib: "64",
576 target: {
577 host: {
578 enabled: false,
579 },
580 linux_glibc_x86_64: {
581 enabled: true,
582 srcs: ["x86_64/bin/veridex"],
583 },
584 },
585}
586
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100587cc_prebuilt_library {
588 name: "art-module-host-exports_libartpalette@current",
589 sdk_member_name: "libartpalette",
590 visibility: [
591 "//art:__subpackages__",
592 "//prebuilts/module_sdk/art/current/host-exports",
593 "//prebuilts:__subpackages__",
594 ],
595 apex_available: [
596 "com.android.art",
597 "com.android.art.debug",
598 "com.android.runtime",
599 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100600 licenses: ["art-module-host-exports_art_license@current"],
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100601 device_supported: false,
602 host_supported: true,
603 installable: false,
604 compile_multilib: "64",
605 export_include_dirs: ["include/art/libartpalette/include"],
606 target: {
607 host: {
608 enabled: false,
609 },
610 linux_glibc_x86_64: {
611 enabled: true,
612 static: {
613 srcs: ["x86_64/lib/libartpalette.a"],
614 },
615 shared: {
616 srcs: ["x86_64/lib/libartpalette.so"],
617 shared_libs: [
618 "libbase",
619 "liblog",
620 ],
621 },
622 },
623 },
624}
625
626art_prebuilt_cc_prebuilt_library {
627 name: "libartpalette",
android-t13d2c5b22022-10-12 13:43:18 +0800628 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100629 prefer: true,
630 soong_config_variables: {
631 source_build: {
632 prefer: false,
633 },
634 },
635 visibility: [
636 "//art:__subpackages__",
637 "//prebuilts/module_sdk/art/current/host-exports",
638 "//prebuilts:__subpackages__",
639 ],
640 apex_available: [
641 "com.android.art",
642 "com.android.art.debug",
643 "com.android.runtime",
644 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100645 licenses: ["art-module-host-exports_art_license"],
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100646 device_supported: false,
647 host_supported: true,
648 compile_multilib: "64",
649 export_include_dirs: ["include/art/libartpalette/include"],
650 target: {
651 host: {
652 enabled: false,
653 },
654 linux_glibc_x86_64: {
655 enabled: true,
656 static: {
657 srcs: ["x86_64/lib/libartpalette.a"],
658 },
659 shared: {
660 srcs: ["x86_64/lib/libartpalette.so"],
661 shared_libs: [
662 "libbase",
663 "liblog",
664 ],
665 },
666 },
667 },
668}
669
670cc_prebuilt_library {
671 name: "art-module-host-exports_libartbase@current",
672 sdk_member_name: "libartbase",
673 visibility: [
674 "//art:__subpackages__",
675 "//packages/modules/NetworkStack/tests:__subpackages__",
676 "//prebuilts/module_sdk/art/current/host-exports",
677 "//prebuilts:__subpackages__",
678 ],
679 apex_available: [
680 "com.android.art",
681 "com.android.art.debug",
682 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100683 licenses: ["art-module-host-exports_art_license@current"],
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100684 device_supported: false,
685 host_supported: true,
686 installable: false,
687 compile_multilib: "64",
688 shared_libs: [
689 "libbase",
690 "libziparchive",
691 "libz",
692 "liblog",
693 "art-module-host-exports_libartpalette@current",
694 ],
695 export_include_dirs: [
696 "include/art/libartbase",
697 "include/system/libbase/include",
698 "include/external/fmtlib/include",
699 ],
700 target: {
701 host: {
702 enabled: false,
703 },
704 linux_glibc_x86_64: {
705 enabled: true,
706 static: {
707 srcs: ["x86_64/lib/libartbase.a"],
708 },
709 shared: {
710 srcs: ["x86_64/lib/libartbase.so"],
711 },
712 },
713 },
714}
715
716art_prebuilt_cc_prebuilt_library {
717 name: "libartbase",
android-t13d2c5b22022-10-12 13:43:18 +0800718 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true.
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100719 prefer: true,
720 soong_config_variables: {
721 source_build: {
722 prefer: false,
723 },
724 },
725 visibility: [
726 "//art:__subpackages__",
727 "//packages/modules/NetworkStack/tests:__subpackages__",
728 "//prebuilts/module_sdk/art/current/host-exports",
729 "//prebuilts:__subpackages__",
730 ],
731 apex_available: [
732 "com.android.art",
733 "com.android.art.debug",
734 ],
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100735 licenses: ["art-module-host-exports_art_license"],
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100736 device_supported: false,
737 host_supported: true,
738 compile_multilib: "64",
739 shared_libs: [
740 "libbase",
741 "libziparchive",
742 "libz",
743 "liblog",
744 "libartpalette",
745 ],
746 export_include_dirs: [
747 "include/art/libartbase",
748 "include/system/libbase/include",
749 "include/external/fmtlib/include",
750 ],
751 target: {
752 host: {
753 enabled: false,
754 },
755 linux_glibc_x86_64: {
756 enabled: true,
757 static: {
758 srcs: ["x86_64/lib/libartbase.a"],
759 },
760 shared: {
761 srcs: ["x86_64/lib/libartbase.so"],
762 },
763 },
764 },
765}
766
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000767module_exports_snapshot {
768 name: "art-module-host-exports@current",
769 visibility: ["//art:__subpackages__"],
770 host_supported: true,
771 target: {
android-t13d2c5b22022-10-12 13:43:18 +0800772 android: {
773 java_libs: ["art-module-host-exports_okhttp-norepackage@current"],
774 },
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000775 linux_glibc: {
776 compile_multilib: "64",
777 java_libs: [
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000778 "art-module-host-exports_okhttp-norepackage@current",
android-t13d2c5b22022-10-12 13:43:18 +0800779 "art-module-host-exports_art.module.api.annotations@current",
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000780 ],
781 native_binaries: [
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000782 "art-module-host-exports_dex2oat@current",
783 "art-module-host-exports_dex2oatd@current",
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100784 "art-module-host-exports_dexdump@current",
785 "art-module-host-exports_hiddenapi@current",
786 "art-module-host-exports_oatdump@current",
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100787 "art-module-host-exports_profman@current",
Martin Stjernholmc5cb0bf2021-05-24 17:21:58 +0100788 "art-module-host-exports_veridex@current",
Martin Stjernholm4fb51112021-04-30 11:53:52 +0100789 ],
790 native_libs: [
791 "art-module-host-exports_libartpalette@current",
792 "art-module-host-exports_libartbase@current",
Martin Stjernholmc15e7e42020-12-02 22:50:53 +0000793 ],
794 },
795 host: {
796 enabled: false,
797 },
798 linux_glibc_x86_64: {
799 enabled: true,
800 },
801 },
android-t13d2c5b22022-10-12 13:43:18 +0800802}