1// This is auto-generated. DO NOT EDIT. 2 3// blueprint rules added by vendor/google/build/mainline_modules_sdks.py 4// to support coexistence. 5blueprint_package_includes { 6 match_all: ["com.android.mainline"] 7} 8 9package { 10 // A default list here prevents the license LSC from adding its own list which would 11 // be unnecessary as every module in the sdk already has its own licenses property. 12 default_applicable_licenses: ["Android-Apache-2.0"], 13} 14 15prebuilt_bootclasspath_fragment { 16 name: "art-bootclasspath-fragment", 17 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 18 use_source_config_var: { 19 config_namespace: "art_module", 20 var_name: "source_build", 21 }, 22 visibility: [ 23 "//art/build/apex", 24 "//art/build/boot", 25 "//art/build/sdk", 26 "//prebuilts:__subpackages__", 27 ], 28 apex_available: [ 29 "com.android.art", 30 "com.android.art.debug", 31 ], 32 licenses: ["art-module-sdk_art_license"], 33 image_name: "art", 34 contents: [ 35 "core-oj", 36 "core-libart", 37 "okhttp", 38 "bouncycastle", 39 "apache-xml", 40 ], 41 api: { 42 stub_libs: ["art.module.public.api"], 43 }, 44 core_platform_api: { 45 stub_libs: ["art.module.public.api.stubs.module_lib"], 46 }, 47 hidden_api: { 48 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"], 49 blocked: ["hiddenapi/hiddenapi-blocked.txt"], 50 unsupported_packages: ["hiddenapi/hiddenapi-unsupported-packages.txt"], 51 annotation_flags: "hiddenapi/annotation-flags.csv", 52 metadata: "hiddenapi/metadata.csv", 53 index: "hiddenapi/index.csv", 54 signature_patterns: "hiddenapi/signature-patterns.csv", 55 filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv", 56 filtered_flags: "hiddenapi/filtered-flags.csv", 57 }, 58} 59 60prebuilt_platform_compat_config { 61 name: "libcore-platform-compat-config", 62 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 63 use_source_config_var: { 64 config_namespace: "art_module", 65 var_name: "source_build", 66 }, 67 visibility: [ 68 "//art/build/apex", 69 "//art/build/sdk", 70 "//libcore", 71 "//prebuilts:__subpackages__", 72 ], 73 licenses: ["art-module-sdk_libcore_license"], 74 metadata: "compat_configs/libcore-platform-compat-config/libcore-platform-compat-config_meta.xml", 75} 76 77java_import { 78 name: "core-oj", 79 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 80 use_source_config_var: { 81 config_namespace: "art_module", 82 var_name: "source_build", 83 }, 84 visibility: [ 85 "//art/build/apex", 86 "//art/build/sdk", 87 "//external/wycheproof", 88 "//libcore/benchmarks", 89 "//libcore:__subpackages__", 90 "//packages/modules/ArtPrebuilt", 91 "//prebuilts:__subpackages__", 92 ], 93 apex_available: [ 94 "com.android.art", 95 "com.android.art.debug", 96 ], 97 licenses: ["art-module-sdk_libcore_license"], 98 jars: ["java_boot_libs/snapshot/jars/are/invalid/core-oj.jar"], 99 min_sdk_version: "31", 100} 101 102java_import { 103 name: "core-libart", 104 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 105 use_source_config_var: { 106 config_namespace: "art_module", 107 var_name: "source_build", 108 }, 109 visibility: [ 110 "//art/build/apex", 111 "//art/build/sdk", 112 "//external/wycheproof", 113 "//libcore/benchmarks", 114 "//libcore:__subpackages__", 115 "//packages/modules/ArtPrebuilt", 116 "//prebuilts:__subpackages__", 117 ], 118 apex_available: [ 119 "com.android.art", 120 "com.android.art.debug", 121 ], 122 licenses: ["art-module-sdk_libcore_license"], 123 jars: ["java_boot_libs/snapshot/jars/are/invalid/core-libart.jar"], 124 min_sdk_version: "31", 125} 126 127java_import { 128 name: "okhttp", 129 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 130 use_source_config_var: { 131 config_namespace: "art_module", 132 var_name: "source_build", 133 }, 134 visibility: [ 135 "//art/build/apex", 136 "//art/build/sdk", 137 "//external/grpc-grpc-java/okhttp", 138 "//external/okhttp", 139 "//external/robolectric", 140 "//external/robolectric-shadows", 141 "//libcore:__subpackages__", 142 "//packages/modules/ArtPrebuilt", 143 "//prebuilts:__subpackages__", 144 ], 145 apex_available: [ 146 "com.android.art", 147 "com.android.art.debug", 148 ], 149 licenses: ["art-module-sdk_external_okhttp_license"], 150 jars: ["java_boot_libs/snapshot/jars/are/invalid/okhttp.jar"], 151 min_sdk_version: "31", 152} 153 154java_import { 155 name: "bouncycastle", 156 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 157 use_source_config_var: { 158 config_namespace: "art_module", 159 var_name: "source_build", 160 }, 161 visibility: [ 162 "//art/build/apex", 163 "//art/build/sdk", 164 "//external/bouncycastle", 165 "//external/wycheproof", 166 "//libcore:__subpackages__", 167 "//packages/modules/ArtPrebuilt", 168 "//prebuilts:__subpackages__", 169 ], 170 apex_available: [ 171 "com.android.art", 172 "com.android.art.debug", 173 ], 174 licenses: ["art-module-sdk_external_bouncycastle_license"], 175 jars: ["java_boot_libs/snapshot/jars/are/invalid/bouncycastle.jar"], 176 min_sdk_version: "31", 177} 178 179java_import { 180 name: "apache-xml", 181 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 182 use_source_config_var: { 183 config_namespace: "art_module", 184 var_name: "source_build", 185 }, 186 visibility: [ 187 "//art/build/apex", 188 "//art/build/sdk", 189 "//external/apache-xml", 190 "//libcore", 191 "//packages/modules/ArtPrebuilt", 192 "//prebuilts:__subpackages__", 193 ], 194 apex_available: [ 195 "com.android.art", 196 "com.android.art.debug", 197 ], 198 licenses: ["art-module-sdk_external_apache-xml_license"], 199 jars: ["java_boot_libs/snapshot/jars/are/invalid/apache-xml.jar"], 200 min_sdk_version: "31", 201} 202 203java_import { 204 name: "core-lambda-stubs", 205 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 206 use_source_config_var: { 207 config_namespace: "art_module", 208 var_name: "source_build", 209 }, 210 visibility: ["//visibility:public"], 211 apex_available: ["//apex_available:platform"], 212 licenses: ["art-module-sdk_libcore_license"], 213 jars: ["java/core-lambda-stubs.jar"], 214 min_sdk_version: "31", 215} 216 217java_import { 218 name: "core-lambda-stubs-for-system-modules", 219 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 220 use_source_config_var: { 221 config_namespace: "art_module", 222 var_name: "source_build", 223 }, 224 visibility: [ 225 "//art/build/sdk", 226 "//build/soong/java/core-libraries", 227 "//frameworks/base", 228 "//frameworks/base/api", 229 "//libcore:__subpackages__", 230 "//prebuilts:__subpackages__", 231 ], 232 apex_available: ["//apex_available:platform"], 233 licenses: ["art-module-sdk_libcore_license"], 234 jars: ["java/core-lambda-stubs-for-system-modules.jar"], 235 min_sdk_version: "31", 236} 237 238java_import { 239 name: "core-generated-annotation-stubs", 240 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 241 use_source_config_var: { 242 config_namespace: "art_module", 243 var_name: "source_build", 244 }, 245 visibility: [ 246 "//art/build/sdk", 247 "//build/soong/java/core-libraries", 248 "//frameworks/base", 249 "//frameworks/base/api", 250 "//libcore:__subpackages__", 251 "//prebuilts:__subpackages__", 252 ], 253 apex_available: ["//apex_available:platform"], 254 licenses: ["art-module-sdk_libcore_license"], 255 jars: ["java/core-generated-annotation-stubs.jar"], 256 min_sdk_version: "31", 257} 258 259java_import { 260 name: "art-module-sdk_art.module.api.annotations.for.system.modules", 261 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 262 use_source_config_var: { 263 config_namespace: "art_module", 264 var_name: "source_build", 265 }, 266 visibility: ["//visibility:private"], 267 apex_available: ["//apex_available:platform"], 268 licenses: ["art-module-sdk_libcore_license"], 269 jars: ["java/art.module.api.annotations.for.system.modules.jar"], 270} 271 272java_import { 273 name: "art-module-sdk_art.module.intra.core.api.stubs", 274 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 275 use_source_config_var: { 276 config_namespace: "art_module", 277 var_name: "source_build", 278 }, 279 visibility: ["//visibility:private"], 280 apex_available: ["//apex_available:platform"], 281 licenses: ["art-module-sdk_libcore_license"], 282 jars: ["java/art.module.intra.core.api.stubs.jar"], 283} 284 285java_import { 286 name: "art-module-sdk_art-module-intra-core-api-stubs-system-modules-lib", 287 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 288 use_source_config_var: { 289 config_namespace: "art_module", 290 var_name: "source_build", 291 }, 292 visibility: ["//visibility:private"], 293 apex_available: ["//apex_available:platform"], 294 licenses: ["art-module-sdk_libcore_license"], 295 jars: ["java/art-module-intra-core-api-stubs-system-modules-lib.jar"], 296} 297 298java_sdk_library_import { 299 name: "art.module.public.api", 300 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 301 use_source_config_var: { 302 config_namespace: "art_module", 303 var_name: "source_build", 304 }, 305 visibility: [ 306 "//art/build/sdk", 307 "//build/soong/java/core-libraries", 308 "//frameworks/base", 309 "//frameworks/base/api", 310 "//libcore", 311 "//libcore/mmodules/core_platform_api", 312 "//prebuilts:__subpackages__", 313 ], 314 apex_available: ["//apex_available:platform"], 315 licenses: ["art-module-sdk_libcore_license"], 316 shared_library: false, 317 compile_dex: true, 318 doctag_files: ["doctags/known_oj_tags.txt"], 319 public: { 320 jars: ["sdk_library/public/art-stubs.jar"], 321 stub_srcs: ["sdk_library/public/art.srcjar"], 322 current_api: "sdk_library/public/art.txt", 323 removed_api: "sdk_library/public/art-removed.txt", 324 annotations: "sdk_library/public/art_annotations.zip", 325 sdk_version: "none", 326 }, 327 system: { 328 jars: ["sdk_library/system/art-stubs.jar"], 329 stub_srcs: ["sdk_library/system/art.srcjar"], 330 current_api: "sdk_library/system/art.txt", 331 removed_api: "sdk_library/system/art-removed.txt", 332 annotations: "sdk_library/system/art_annotations.zip", 333 sdk_version: "none", 334 }, 335 module_lib: { 336 jars: ["sdk_library/module-lib/art-stubs.jar"], 337 stub_srcs: ["sdk_library/module-lib/art.srcjar"], 338 current_api: "sdk_library/module-lib/art.txt", 339 removed_api: "sdk_library/module-lib/art-removed.txt", 340 annotations: "sdk_library/module-lib/art_annotations.zip", 341 sdk_version: "none", 342 }, 343} 344 345java_sdk_library_import { 346 name: "service-art", 347 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 348 use_source_config_var: { 349 config_namespace: "art_module", 350 var_name: "source_build", 351 }, 352 visibility: ["//visibility:public"], 353 apex_available: [ 354 "com.android.art", 355 "com.android.art.debug", 356 ], 357 licenses: ["art-module-sdk_art_license"], 358 shared_library: false, 359 permitted_packages: ["com.android.server.art"], 360 public: { 361 jars: ["sdk_library/public/service-art-stubs.jar"], 362 stub_srcs: ["sdk_library/public/service-art.srcjar"], 363 current_api: "sdk_library/public/service-art.txt", 364 removed_api: "sdk_library/public/service-art-removed.txt", 365 annotations: "sdk_library/public/service-art_annotations.zip", 366 sdk_version: "module_current", 367 }, 368 system_server: { 369 jars: ["sdk_library/system-server/service-art-stubs.jar"], 370 stub_srcs: ["sdk_library/system-server/service-art.srcjar"], 371 current_api: "sdk_library/system-server/service-art.txt", 372 removed_api: "sdk_library/system-server/service-art-removed.txt", 373 annotations: "sdk_library/system-server/service-art_annotations.zip", 374 sdk_version: "system_server_current", 375 }, 376} 377 378java_system_modules_import { 379 name: "art-module-public-api-stubs-system-modules", 380 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 381 use_source_config_var: { 382 config_namespace: "art_module", 383 var_name: "source_build", 384 }, 385 visibility: [ 386 "//art/build/sdk", 387 "//build/soong/java/core-libraries", 388 "//external/conscrypt", 389 "//external/icu/android_icu4j", 390 "//external/wycheproof", 391 "//prebuilts:__subpackages__", 392 ], 393 licenses: ["art-module-sdk_Android-Apache-2.0"], 394 libs: [ 395 "art.module.public.api.stubs", 396 "core-lambda-stubs-for-system-modules", 397 "art-module-sdk_art.module.api.annotations.for.system.modules", 398 ], 399} 400 401java_system_modules_import { 402 name: "art-module-lib-api-stubs-system-modules", 403 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 404 use_source_config_var: { 405 config_namespace: "art_module", 406 var_name: "source_build", 407 }, 408 visibility: [ 409 "//art/build/sdk", 410 "//build/soong/java/core-libraries", 411 "//external/conscrypt", 412 "//external/icu/android_icu4j", 413 "//prebuilts:__subpackages__", 414 ], 415 licenses: ["art-module-sdk_Android-Apache-2.0"], 416 libs: ["art.module.public.api.stubs.module_lib"], 417} 418 419java_system_modules_import { 420 name: "art-module-intra-core-api-stubs-system-modules", 421 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 422 use_source_config_var: { 423 config_namespace: "art_module", 424 var_name: "source_build", 425 }, 426 visibility: [ 427 "//art/build/sdk", 428 "//build/soong/java/core-libraries", 429 "//external/bouncycastle", 430 "//external/conscrypt", 431 "//external/icu/android_icu4j", 432 "//prebuilts:__subpackages__", 433 ], 434 licenses: ["art-module-sdk_Android-Apache-2.0"], 435 libs: [ 436 "art-module-sdk_art.module.intra.core.api.stubs", 437 "art-module-sdk_art-module-intra-core-api-stubs-system-modules-lib", 438 ], 439} 440 441license { 442 name: "art-module-sdk_art_license", 443 visibility: ["//visibility:private"], 444 license_kinds: [ 445 "SPDX-license-identifier-Apache-2.0", 446 "SPDX-license-identifier-BSD", 447 ], 448 license_text: ["licenses/art/NOTICE"], 449} 450 451license { 452 name: "art-module-sdk_libnativehelper_license", 453 visibility: ["//visibility:private"], 454 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 455 license_text: ["licenses/libnativehelper/NOTICE"], 456} 457 458license { 459 name: "art-module-sdk_art_openjdkjvmti_license", 460 visibility: ["//visibility:private"], 461 license_kinds: [ 462 "SPDX-license-identifier-Apache-2.0", 463 "SPDX-license-identifier-GPL-2.0-with-classpath-exception", 464 ], 465 license_text: ["licenses/art/openjdkjvmti/LICENSE"], 466} 467 468license { 469 name: "art-module-sdk_libcore_license", 470 visibility: ["//visibility:private"], 471 license_kinds: [ 472 "SPDX-license-identifier-Apache-2.0", 473 "SPDX-license-identifier-BSD", 474 "SPDX-license-identifier-GPL-2.0-with-classpath-exception", 475 "SPDX-license-identifier-MIT", 476 "SPDX-license-identifier-OpenSSL", 477 "SPDX-license-identifier-Unicode-DFS", 478 "SPDX-license-identifier-W3C", 479 "legacy_unencumbered", 480 ], 481 license_text: [ 482 "licenses/libcore/LICENSE", 483 "licenses/libcore/NOTICE", 484 "licenses/libcore/ojluni/src/main/NOTICE", 485 ], 486} 487 488license { 489 name: "art-module-sdk_external_okhttp_license", 490 visibility: ["//visibility:private"], 491 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 492 license_text: ["licenses/external/okhttp/LICENSE.txt"], 493} 494 495license { 496 name: "art-module-sdk_external_bouncycastle_license", 497 visibility: ["//visibility:private"], 498 license_kinds: [ 499 "SPDX-license-identifier-Apache-2.0", 500 "SPDX-license-identifier-BSD", 501 "SPDX-license-identifier-MIT", 502 ], 503 license_text: ["licenses/external/bouncycastle/NOTICE"], 504} 505 506license { 507 name: "art-module-sdk_external_apache-xml_license", 508 visibility: ["//visibility:private"], 509 license_kinds: [ 510 "SPDX-license-identifier-Apache-2.0", 511 "SPDX-license-identifier-W3C", 512 ], 513 license_text: ["licenses/external/apache-xml/NOTICE"], 514} 515 516license { 517 name: "art-module-sdk_Android-Apache-2.0", 518 visibility: ["//visibility:private"], 519 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 520 license_text: ["licenses/build/soong/licenses/LICENSE"], 521} 522 523cc_prebuilt_library_headers { 524 name: "jni_headers", 525 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 526 use_source_config_var: { 527 config_namespace: "art_module", 528 var_name: "source_build", 529 }, 530 visibility: ["//visibility:public"], 531 apex_available: [ 532 "//apex_available:anyapex", 533 "//apex_available:platform", 534 ], 535 licenses: ["art-module-sdk_libnativehelper_license"], 536 host_supported: true, 537 native_bridge_supported: true, 538 ramdisk_available: true, 539 recovery_available: true, 540 vendor_available: true, 541 product_available: true, 542 sdk_version: "minimum", 543 stl: "none", 544 compile_multilib: "both", 545 system_shared_libs: [], 546 export_include_dirs: ["common_os/include/libnativehelper/include_jni"], 547 target: { 548 host: { 549 enabled: false, 550 }, 551 linux_glibc_x86_64: { 552 enabled: true, 553 }, 554 linux_glibc_x86: { 555 enabled: true, 556 }, 557 }, 558} 559 560cc_prebuilt_library_headers { 561 name: "libartpalette-headers", 562 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 563 use_source_config_var: { 564 config_namespace: "art_module", 565 var_name: "source_build", 566 }, 567 visibility: [ 568 "//art:__subpackages__", 569 "//prebuilts:__subpackages__", 570 "//system/libartpalette", 571 ], 572 apex_available: ["//apex_available:platform"], 573 licenses: ["art-module-sdk_art_license"], 574 host_supported: true, 575 compile_multilib: "both", 576 export_include_dirs: ["common_os/include/art/libartpalette/include"], 577 target: { 578 host: { 579 enabled: false, 580 }, 581 linux_glibc_x86_64: { 582 enabled: true, 583 }, 584 linux_glibc_x86: { 585 enabled: true, 586 }, 587 }, 588} 589 590cc_prebuilt_library_headers { 591 name: "libnativehelper_header_only", 592 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 593 use_source_config_var: { 594 config_namespace: "art_module", 595 var_name: "source_build", 596 }, 597 visibility: ["//visibility:public"], 598 apex_available: [ 599 "//apex_available:anyapex", 600 "//apex_available:platform", 601 ], 602 licenses: ["art-module-sdk_libnativehelper_license"], 603 host_supported: true, 604 sdk_version: "minimum", 605 compile_multilib: "both", 606 export_include_dirs: [ 607 "common_os/include/libnativehelper/header_only_include", 608 "common_os/include/libnativehelper/include_jni", 609 ], 610 target: { 611 host: { 612 enabled: false, 613 }, 614 linux_glibc_x86_64: { 615 enabled: true, 616 }, 617 linux_glibc_x86: { 618 enabled: true, 619 }, 620 }, 621} 622 623cc_prebuilt_library_headers { 624 name: "libopenjdkjvmti_headers", 625 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 626 use_source_config_var: { 627 config_namespace: "art_module", 628 var_name: "source_build", 629 }, 630 visibility: ["//visibility:public"], 631 apex_available: [ 632 "//apex_available:platform", 633 "com.android.art", 634 "com.android.art.debug", 635 ], 636 licenses: ["art-module-sdk_art_openjdkjvmti_license"], 637 host_supported: true, 638 sdk_version: "current", 639 compile_multilib: "both", 640 export_include_dirs: [ 641 "common_os/include/art/openjdkjvmti/include", 642 "common_os/include/libnativehelper/include_jni", 643 ], 644 target: { 645 host: { 646 enabled: false, 647 }, 648 linux_glibc_x86_64: { 649 enabled: true, 650 }, 651 linux_glibc_x86: { 652 enabled: true, 653 }, 654 }, 655} 656 657cc_prebuilt_library_headers { 658 name: "odrefresh_headers", 659 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 660 use_source_config_var: { 661 config_namespace: "art_module", 662 var_name: "source_build", 663 }, 664 visibility: ["//visibility:public"], 665 apex_available: ["//apex_available:platform"], 666 licenses: ["art-module-sdk_art_license"], 667 host_supported: true, 668 sdk_version: "minimum", 669 stl: "none", 670 compile_multilib: "both", 671 system_shared_libs: [], 672 export_include_dirs: ["common_os/include/art/odrefresh/include"], 673 target: { 674 host: { 675 enabled: false, 676 }, 677 linux_glibc_x86_64: { 678 enabled: true, 679 }, 680 linux_glibc_x86: { 681 enabled: true, 682 }, 683 }, 684} 685 686cc_prebuilt_library_headers { 687 name: "libnativeloader-headers", 688 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 689 use_source_config_var: { 690 config_namespace: "art_module", 691 var_name: "source_build", 692 }, 693 visibility: [ 694 "//art:__subpackages__", 695 "//frameworks/av/media/libstagefright", 696 "//frameworks/native/libs/graphicsenv", 697 "//frameworks/native/vulkan/libvulkan", 698 "//prebuilts:__subpackages__", 699 ], 700 apex_available: [ 701 "//apex_available:platform", 702 "com.android.art", 703 "com.android.art.debug", 704 "com.android.media", 705 ], 706 licenses: ["art-module-sdk_art_license"], 707 compile_multilib: "both", 708 export_include_dirs: [ 709 "include/art/libnativeloader/include", 710 "include/libnativehelper/include_jni", 711 ], 712} 713 714cc_prebuilt_library_shared { 715 name: "libandroidio", 716 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 717 use_source_config_var: { 718 config_namespace: "art_module", 719 var_name: "source_build", 720 }, 721 visibility: [ 722 "//art/build/apex", 723 "//art/build/sdk", 724 "//external/conscrypt", 725 "//libcore", 726 "//prebuilts:__subpackages__", 727 ], 728 apex_available: [ 729 "com.android.art", 730 "com.android.art.debug", 731 ], 732 licenses: ["art-module-sdk_libcore_license"], 733 host_supported: true, 734 compile_multilib: "both", 735 stubs: { 736 versions: [ 737 "1", 738 "current", 739 ], 740 }, 741 target: { 742 host: { 743 enabled: false, 744 }, 745 android_arm64: { 746 srcs: ["android/arm64/lib/libandroidio.so"], 747 }, 748 android_x86_64: { 749 srcs: ["android/x86_64/lib/libandroidio.so"], 750 }, 751 android_arm: { 752 srcs: ["android/arm/lib/libandroidio.so"], 753 }, 754 android_x86: { 755 srcs: ["android/x86/lib/libandroidio.so"], 756 }, 757 linux_glibc_x86_64: { 758 enabled: true, 759 srcs: ["linux_glibc/x86_64/lib/libandroidio.so"], 760 }, 761 linux_glibc_x86: { 762 enabled: true, 763 srcs: ["linux_glibc/x86/lib/libandroidio.so"], 764 }, 765 }, 766} 767 768cc_prebuilt_library_shared { 769 name: "libdexfile", 770 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 771 use_source_config_var: { 772 config_namespace: "art_module", 773 var_name: "source_build", 774 }, 775 visibility: [ 776 "//art:__subpackages__", 777 "//external/perfetto", 778 "//prebuilts:__subpackages__", 779 "//system/core/debuggerd", 780 "//system/extras/simpleperf", 781 "//system/unwinding/libunwindstack", 782 ], 783 apex_available: [ 784 "com.android.art", 785 "com.android.art.debug", 786 "test_broken_com.android.art", 787 ], 788 licenses: ["art-module-sdk_art_license"], 789 host_supported: true, 790 compile_multilib: "both", 791 export_include_dirs: [ 792 "common_os/include/art/libdexfile", 793 "common_os/include/libnativehelper/include_jni", 794 "common_os/include/art/libdexfile/external/include", 795 "common_os/include/system/libbase/include", 796 "common_os/include/external/fmtlib/include", 797 "common_os/include/art/libartbase", 798 "common_os/include/external/tinyxml2", 799 "common_os/include/external/libcap/libcap/include", 800 ], 801 stubs: { 802 versions: [ 803 "1", 804 "current", 805 ], 806 }, 807 target: { 808 host: { 809 enabled: false, 810 }, 811 android_arm64: { 812 srcs: ["android/arm64/lib/libdexfile.so"], 813 }, 814 android_x86_64: { 815 srcs: ["android/x86_64/lib/libdexfile.so"], 816 }, 817 android_arm: { 818 srcs: ["android/arm/lib/libdexfile.so"], 819 }, 820 android_x86: { 821 srcs: ["android/x86/lib/libdexfile.so"], 822 }, 823 linux_glibc_x86_64: { 824 enabled: true, 825 srcs: ["linux_glibc/x86_64/lib/libdexfile.so"], 826 }, 827 linux_glibc_x86: { 828 enabled: true, 829 srcs: ["linux_glibc/x86/lib/libdexfile.so"], 830 }, 831 }, 832} 833 834cc_prebuilt_library_shared { 835 name: "libnativebridge", 836 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 837 use_source_config_var: { 838 config_namespace: "art_module", 839 var_name: "source_build", 840 }, 841 visibility: [ 842 "//art:__subpackages__", 843 "//frameworks/base/cmds/app_process", 844 "//frameworks/base/native/webview/loader/libwebviewchromium_loader", 845 "//prebuilts:__subpackages__", 846 ], 847 apex_available: [ 848 "com.android.art", 849 "com.android.art.debug", 850 "test_broken_com.android.art", 851 ], 852 licenses: ["art-module-sdk_art_license"], 853 host_supported: true, 854 compile_multilib: "both", 855 export_include_dirs: [ 856 "common_os/include/art/libnativebridge/include", 857 "common_os/include/libnativehelper/include_jni", 858 ], 859 stubs: { 860 versions: [ 861 "1", 862 "current", 863 ], 864 }, 865 target: { 866 host: { 867 enabled: false, 868 }, 869 android_arm64: { 870 srcs: ["android/arm64/lib/libnativebridge.so"], 871 }, 872 android_x86_64: { 873 srcs: ["android/x86_64/lib/libnativebridge.so"], 874 }, 875 android_arm: { 876 srcs: ["android/arm/lib/libnativebridge.so"], 877 }, 878 android_x86: { 879 srcs: ["android/x86/lib/libnativebridge.so"], 880 }, 881 linux_glibc_x86_64: { 882 enabled: true, 883 srcs: ["linux_glibc/x86_64/lib/libnativebridge.so"], 884 }, 885 linux_glibc_x86: { 886 enabled: true, 887 srcs: ["linux_glibc/x86/lib/libnativebridge.so"], 888 }, 889 }, 890} 891 892cc_prebuilt_library_shared { 893 name: "libnativehelper", 894 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 895 use_source_config_var: { 896 config_namespace: "art_module", 897 var_name: "source_build", 898 }, 899 visibility: ["//visibility:public"], 900 apex_available: [ 901 "com.android.art", 902 "com.android.art.debug", 903 ], 904 licenses: ["art-module-sdk_libnativehelper_license"], 905 host_supported: true, 906 stl: "none", 907 compile_multilib: "both", 908 export_include_dirs: [ 909 "common_os/include/libnativehelper/header_only_include", 910 "common_os/include/libnativehelper/include", 911 "common_os/include/libnativehelper/include_jni", 912 "common_os/include/libnativehelper/include_platform", 913 "common_os/include/libnativehelper/include_platform_header_only", 914 ], 915 stubs: { 916 versions: [ 917 "31", 918 "current", 919 ], 920 }, 921 target: { 922 host: { 923 enabled: false, 924 }, 925 android_arm64: { 926 srcs: ["android/arm64/lib/libnativehelper.so"], 927 }, 928 android_x86_64: { 929 srcs: ["android/x86_64/lib/libnativehelper.so"], 930 }, 931 android_arm: { 932 srcs: ["android/arm/lib/libnativehelper.so"], 933 }, 934 android_x86: { 935 srcs: ["android/x86/lib/libnativehelper.so"], 936 }, 937 linux_glibc_x86_64: { 938 enabled: true, 939 srcs: ["linux_glibc/x86_64/lib/libnativehelper.so"], 940 }, 941 linux_glibc_x86: { 942 enabled: true, 943 srcs: ["linux_glibc/x86/lib/libnativehelper.so"], 944 }, 945 }, 946} 947 948cc_prebuilt_library_shared { 949 name: "libnativeloader", 950 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 951 use_source_config_var: { 952 config_namespace: "art_module", 953 var_name: "source_build", 954 }, 955 visibility: [ 956 "//art:__subpackages__", 957 "//frameworks/base/cmds/app_process", 958 "//frameworks/base/native/webview/loader", 959 "//prebuilts:__subpackages__", 960 ], 961 apex_available: [ 962 "com.android.art", 963 "com.android.art.debug", 964 "test_broken_com.android.art", 965 ], 966 licenses: ["art-module-sdk_art_license"], 967 host_supported: true, 968 compile_multilib: "both", 969 export_include_dirs: [ 970 "common_os/include/art/libnativeloader/include", 971 "common_os/include/libnativehelper/include_jni", 972 ], 973 stubs: { 974 versions: [ 975 "1", 976 "current", 977 ], 978 }, 979 target: { 980 host: { 981 enabled: false, 982 }, 983 android_arm64: { 984 srcs: ["android/arm64/lib/libnativeloader.so"], 985 }, 986 android_x86_64: { 987 srcs: ["android/x86_64/lib/libnativeloader.so"], 988 }, 989 android_arm: { 990 srcs: ["android/arm/lib/libnativeloader.so"], 991 }, 992 android_x86: { 993 srcs: ["android/x86/lib/libnativeloader.so"], 994 }, 995 linux_glibc_x86_64: { 996 enabled: true, 997 srcs: ["linux_glibc/x86_64/lib/libnativeloader.so"], 998 }, 999 linux_glibc_x86: { 1000 enabled: true, 1001 srcs: ["linux_glibc/x86/lib/libnativeloader.so"], 1002 }, 1003 }, 1004} 1005 1006cc_prebuilt_library_shared { 1007 name: "libsigchain", 1008 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1009 use_source_config_var: { 1010 config_namespace: "art_module", 1011 var_name: "source_build", 1012 }, 1013 visibility: [ 1014 "//art:__subpackages__", 1015 "//frameworks/base/cmds/app_process", 1016 "//prebuilts:__subpackages__", 1017 ], 1018 apex_available: [ 1019 "com.android.art", 1020 "com.android.art.debug", 1021 "test_broken_com.android.art", 1022 ], 1023 licenses: ["art-module-sdk_art_license"], 1024 host_supported: true, 1025 compile_multilib: "both", 1026 export_include_dirs: ["common_os/include/art/sigchainlib"], 1027 stubs: { 1028 versions: [ 1029 "1", 1030 "current", 1031 ], 1032 }, 1033 target: { 1034 host: { 1035 enabled: false, 1036 }, 1037 android_arm64: { 1038 srcs: ["android/arm64/lib/libsigchain.so"], 1039 }, 1040 android_x86_64: { 1041 srcs: ["android/x86_64/lib/libsigchain.so"], 1042 }, 1043 android_arm: { 1044 srcs: ["android/arm/lib/libsigchain.so"], 1045 }, 1046 android_x86: { 1047 srcs: ["android/x86/lib/libsigchain.so"], 1048 }, 1049 linux_glibc_x86_64: { 1050 enabled: true, 1051 srcs: ["linux_glibc/x86_64/lib/libsigchain.so"], 1052 }, 1053 linux_glibc_x86: { 1054 enabled: true, 1055 srcs: ["linux_glibc/x86/lib/libsigchain.so"], 1056 }, 1057 }, 1058} 1059 1060cc_prebuilt_library_shared { 1061 name: "libnativebridge_lazy", 1062 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1063 use_source_config_var: { 1064 config_namespace: "art_module", 1065 var_name: "source_build", 1066 }, 1067 visibility: [ 1068 "//art/libnativebridge/tests", 1069 "//art:__subpackages__", 1070 "//frameworks/base/core/jni", 1071 "//frameworks/native/opengl/libs", 1072 "//frameworks/native/vulkan/libvulkan", 1073 "//prebuilts:__subpackages__", 1074 ], 1075 apex_available: [ 1076 "//apex_available:platform", 1077 "com.android.media", 1078 "com.android.media.swcodec", 1079 ], 1080 licenses: ["art-module-sdk_art_license"], 1081 compile_multilib: "both", 1082 shared_libs: ["liblog"], 1083 export_include_dirs: [ 1084 "include/libnativehelper/include_jni", 1085 "include/art/libnativebridge/include", 1086 ], 1087 arch: { 1088 arm64: { 1089 srcs: ["arm64/lib/libnativebridge_lazy.so"], 1090 }, 1091 x86_64: { 1092 srcs: ["x86_64/lib/libnativebridge_lazy.so"], 1093 }, 1094 arm: { 1095 srcs: ["arm/lib/libnativebridge_lazy.so"], 1096 }, 1097 x86: { 1098 srcs: ["x86/lib/libnativebridge_lazy.so"], 1099 }, 1100 }, 1101} 1102 1103cc_prebuilt_library_shared { 1104 name: "libnativehelper_compat_libc++", 1105 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1106 use_source_config_var: { 1107 config_namespace: "art_module", 1108 var_name: "source_build", 1109 }, 1110 visibility: [ 1111 "//art:__subpackages__", 1112 "//cts:__subpackages__", 1113 "//external/perfetto:__subpackages__", 1114 "//frameworks/base/packages/Connectivity/tests/integration", 1115 "//frameworks/base/packages/ConnectivityT:__subpackages__", 1116 "//frameworks/base/packages/Tethering:__subpackages__", 1117 "//frameworks/libs/net/common/native/bpfmapjni", 1118 "//frameworks/libs/net/common/native/bpfutiljni", 1119 "//libcore:__subpackages__", 1120 "//libnativehelper:__subpackages__", 1121 "//packages/modules/Connectivity:__subpackages__", 1122 "//packages/modules/ExtServices:__subpackages__", 1123 "//packages/modules/NetworkStack:__subpackages__", 1124 "//prebuilts:__subpackages__", 1125 ], 1126 apex_available: [ 1127 "//apex_available:platform", 1128 "com.android.art", 1129 "com.android.art.debug", 1130 "com.android.extservices", 1131 "com.android.tethering", 1132 ], 1133 licenses: ["art-module-sdk_libnativehelper_license"], 1134 stl: "none", 1135 compile_multilib: "both", 1136 shared_libs: ["liblog"], 1137 export_include_dirs: [ 1138 "include/libnativehelper/header_only_include", 1139 "include/libnativehelper/include", 1140 "include/libnativehelper/include_jni", 1141 ], 1142 arch: { 1143 arm64: { 1144 srcs: ["arm64/lib/libnativehelper_compat_libc++.so"], 1145 }, 1146 x86_64: { 1147 srcs: ["x86_64/lib/libnativehelper_compat_libc++.so"], 1148 }, 1149 arm: { 1150 srcs: ["arm/lib/libnativehelper_compat_libc++.so"], 1151 }, 1152 x86: { 1153 srcs: ["x86/lib/libnativehelper_compat_libc++.so"], 1154 }, 1155 }, 1156} 1157 1158cc_prebuilt_library_shared { 1159 name: "libnativeloader_lazy", 1160 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1161 use_source_config_var: { 1162 config_namespace: "art_module", 1163 var_name: "source_build", 1164 }, 1165 visibility: [ 1166 "//art:__subpackages__", 1167 "//frameworks/base/core/jni", 1168 "//frameworks/native/opengl/libs", 1169 "//frameworks/native/vulkan/libvulkan", 1170 "//prebuilts:__subpackages__", 1171 ], 1172 apex_available: [ 1173 "//apex_available:platform", 1174 "com.android.media", 1175 "com.android.media.swcodec", 1176 ], 1177 licenses: ["art-module-sdk_art_license"], 1178 compile_multilib: "both", 1179 shared_libs: ["liblog"], 1180 export_include_dirs: [ 1181 "include/art/libnativeloader/include", 1182 "include/libnativehelper/include_jni", 1183 ], 1184 arch: { 1185 arm64: { 1186 srcs: ["arm64/lib/libnativeloader_lazy.so"], 1187 }, 1188 x86_64: { 1189 srcs: ["x86_64/lib/libnativeloader_lazy.so"], 1190 }, 1191 arm: { 1192 srcs: ["arm/lib/libnativeloader_lazy.so"], 1193 }, 1194 x86: { 1195 srcs: ["x86/lib/libnativeloader_lazy.so"], 1196 }, 1197 }, 1198} 1199 1200cc_prebuilt_library_static { 1201 name: "libdexfile_support", 1202 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1203 use_source_config_var: { 1204 config_namespace: "art_module", 1205 var_name: "source_build", 1206 }, 1207 visibility: ["//visibility:public"], 1208 apex_available: [ 1209 "//apex_available:platform", 1210 "com.android.art", 1211 "com.android.art.debug", 1212 "com.android.media", 1213 "com.android.media.swcodec", 1214 "com.android.runtime", 1215 ], 1216 licenses: ["art-module-sdk_art_license"], 1217 host_supported: true, 1218 compile_multilib: "both", 1219 shared_libs: [ 1220 "liblog", 1221 "libbase", 1222 ], 1223 export_include_dirs: [ 1224 "common_os/include/art/libdexfile/external/include", 1225 "common_os/include/system/libbase/include", 1226 "common_os/include/external/fmtlib/include", 1227 ], 1228 target: { 1229 host: { 1230 enabled: false, 1231 }, 1232 android_arm64: { 1233 srcs: ["android/arm64/lib/libdexfile_support.a"], 1234 }, 1235 android_x86_64: { 1236 srcs: ["android/x86_64/lib/libdexfile_support.a"], 1237 }, 1238 android_arm: { 1239 srcs: ["android/arm/lib/libdexfile_support.a"], 1240 }, 1241 android_x86: { 1242 srcs: ["android/x86/lib/libdexfile_support.a"], 1243 }, 1244 linux_glibc_x86_64: { 1245 enabled: true, 1246 srcs: ["linux_glibc/x86_64/lib/libdexfile_support.a"], 1247 }, 1248 linux_glibc_x86: { 1249 enabled: true, 1250 srcs: ["linux_glibc/x86/lib/libdexfile_support.a"], 1251 }, 1252 }, 1253} 1254 1255cc_prebuilt_library_static { 1256 name: "libdexfile_static", 1257 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1258 use_source_config_var: { 1259 config_namespace: "art_module", 1260 var_name: "source_build", 1261 }, 1262 visibility: [ 1263 "//art:__subpackages__", 1264 "//cts/tests/tests/simpleperf", 1265 "//prebuilts:__subpackages__", 1266 "//system/extras/simpleperf", 1267 ], 1268 apex_available: ["//apex_available:platform"], 1269 licenses: ["art-module-sdk_art_license"], 1270 host_supported: true, 1271 compile_multilib: "both", 1272 export_include_dirs: [ 1273 "common_os/include/external/libcap/libcap/include", 1274 "common_os/include/system/libbase/include", 1275 "common_os/include/external/fmtlib/include", 1276 "common_os/include/art/libartpalette/include", 1277 "common_os/include/libnativehelper/include_jni", 1278 "common_os/include/system/logging/liblog/include", 1279 "common_os/include/external/zlib", 1280 "common_os/include/system/libziparchive/include", 1281 "common_os/include/external/googletest/googletest/include", 1282 "common_os/include/art/libartbase", 1283 "common_os/include/external/tinyxml2", 1284 "common_os/include/art/libdexfile", 1285 "common_os/include/art/libdexfile/external/include", 1286 ], 1287 target: { 1288 host: { 1289 enabled: false, 1290 }, 1291 android_arm64: { 1292 srcs: ["android/arm64/lib/libdexfile_static.a"], 1293 }, 1294 android_x86_64: { 1295 srcs: ["android/x86_64/lib/libdexfile_static.a"], 1296 }, 1297 android_arm: { 1298 srcs: ["android/arm/lib/libdexfile_static.a"], 1299 }, 1300 android_x86: { 1301 srcs: ["android/x86/lib/libdexfile_static.a"], 1302 }, 1303 linux_glibc_x86_64: { 1304 enabled: true, 1305 srcs: ["linux_glibc/x86_64/lib/libdexfile_static.a"], 1306 }, 1307 linux_glibc_x86: { 1308 enabled: true, 1309 srcs: ["linux_glibc/x86/lib/libdexfile_static.a"], 1310 }, 1311 }, 1312} 1313 1314cc_prebuilt_library_static { 1315 name: "libnativehelper_lazy", 1316 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1317 use_source_config_var: { 1318 config_namespace: "art_module", 1319 var_name: "source_build", 1320 }, 1321 visibility: ["//visibility:public"], 1322 apex_available: ["//apex_available:platform"], 1323 licenses: ["art-module-sdk_libnativehelper_license"], 1324 host_supported: true, 1325 compile_multilib: "both", 1326 shared_libs: ["liblog"], 1327 export_include_dirs: [ 1328 "common_os/include/libnativehelper/header_only_include", 1329 "common_os/include/libnativehelper/include", 1330 "common_os/include/libnativehelper/include_jni", 1331 "common_os/include/libnativehelper/include_platform", 1332 "common_os/include/libnativehelper/include_platform_header_only", 1333 ], 1334 target: { 1335 host: { 1336 enabled: false, 1337 }, 1338 android_arm64: { 1339 srcs: ["android/arm64/lib/libnativehelper_lazy.a"], 1340 }, 1341 android_x86_64: { 1342 srcs: ["android/x86_64/lib/libnativehelper_lazy.a"], 1343 }, 1344 android_arm: { 1345 srcs: ["android/arm/lib/libnativehelper_lazy.a"], 1346 }, 1347 android_x86: { 1348 srcs: ["android/x86/lib/libnativehelper_lazy.a"], 1349 }, 1350 linux_glibc_x86_64: { 1351 enabled: true, 1352 srcs: ["linux_glibc/x86_64/lib/libnativehelper_lazy.a"], 1353 }, 1354 linux_glibc_x86: { 1355 enabled: true, 1356 srcs: ["linux_glibc/x86/lib/libnativehelper_lazy.a"], 1357 }, 1358 }, 1359} 1360 1361prebuilt_systemserverclasspath_fragment { 1362 name: "art-systemserverclasspath-fragment", 1363 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. 1364 use_source_config_var: { 1365 config_namespace: "art_module", 1366 var_name: "source_build", 1367 }, 1368 visibility: [ 1369 "//art:__subpackages__", 1370 "//prebuilts:__subpackages__", 1371 ], 1372 apex_available: [ 1373 "com.android.art", 1374 "com.android.art.debug", 1375 ], 1376 licenses: ["art-module-sdk_art_license"], 1377 contents: ["service-art"], 1378} 1379