Alexander Martinz | 5a342e6 | 2022-03-09 16:31:48 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | llvm_prebuilt_library_static { |
| 18 | name: "libFuzzer", |
| 19 | sdk_version: "minimum", |
| 20 | sanitize: { |
| 21 | never: true, |
| 22 | }, |
| 23 | } |
| 24 | |
| 25 | llvm_prebuilt_library_static { |
| 26 | name: "libomp", |
| 27 | sdk_version: "minimum", |
| 28 | vendor_available: true, |
| 29 | sanitize: { |
| 30 | never: true, |
| 31 | }, |
| 32 | } |
| 33 | |
| 34 | libclang_rt_prebuilt_library_static { |
| 35 | name: "libclang_rt.builtins-arm-android", |
| 36 | sdk_version: "minimum", |
| 37 | enabled: false, |
| 38 | recovery_available: true, |
| 39 | vendor_available: true, |
| 40 | sanitize: { |
| 41 | never: true, |
| 42 | }, |
| 43 | arch: { |
| 44 | arm: { |
| 45 | enabled: true, |
| 46 | }, |
| 47 | }, |
| 48 | stl: "none", |
| 49 | } |
| 50 | |
| 51 | libclang_rt_prebuilt_library_static { |
| 52 | name: "libclang_rt.builtins-aarch64-android", |
| 53 | sdk_version: "minimum", |
| 54 | enabled: false, |
| 55 | recovery_available: true, |
| 56 | vendor_available: true, |
| 57 | sanitize: { |
| 58 | never: true, |
| 59 | }, |
| 60 | arch: { |
| 61 | arm64: { |
| 62 | enabled: true, |
| 63 | }, |
| 64 | }, |
| 65 | stl: "none", |
| 66 | } |
| 67 | |
| 68 | libclang_rt_prebuilt_library_static { |
| 69 | name: "libclang_rt.builtins-i686-android", |
| 70 | sdk_version: "minimum", |
| 71 | enabled: false, |
| 72 | recovery_available: true, |
| 73 | vendor_available: true, |
| 74 | sanitize: { |
| 75 | never: true, |
| 76 | }, |
| 77 | arch: { |
| 78 | x86: { |
| 79 | enabled: true, |
| 80 | }, |
| 81 | }, |
| 82 | stl: "none", |
| 83 | } |
| 84 | |
| 85 | libclang_rt_prebuilt_library_static { |
| 86 | name: "libclang_rt.builtins-x86_64-android", |
| 87 | sdk_version: "minimum", |
| 88 | defaults: ["linux_bionic_supported"], |
| 89 | enabled: false, |
| 90 | recovery_available: true, |
| 91 | vendor_available: true, |
| 92 | sanitize: { |
| 93 | never: true, |
| 94 | }, |
| 95 | arch: { |
| 96 | x86_64: { |
| 97 | enabled: true, |
| 98 | }, |
| 99 | }, |
| 100 | stl: "none", |
| 101 | } |
| 102 | |
| 103 | libclang_rt_prebuilt_library_shared { |
| 104 | name: "libclang_rt.asan-arm-android", |
| 105 | sdk_version: "24", |
| 106 | enabled: false, |
| 107 | recovery_available: true, |
| 108 | arch: { |
| 109 | arm: { |
| 110 | enabled: true, |
| 111 | }, |
| 112 | }, |
| 113 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 114 | has_stubs: true, |
| 115 | } |
| 116 | |
| 117 | libclang_rt_prebuilt_library_shared { |
| 118 | name: "libclang_rt.asan-aarch64-android", |
| 119 | sdk_version: "minimum", |
| 120 | enabled: false, |
| 121 | recovery_available: true, |
| 122 | arch: { |
| 123 | arm64: { |
| 124 | enabled: true, |
| 125 | }, |
| 126 | }, |
| 127 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 128 | has_stubs: true, |
| 129 | } |
| 130 | |
| 131 | libclang_rt_prebuilt_library_shared { |
| 132 | name: "libclang_rt.asan-i686-android", |
| 133 | sdk_version: "minimum", |
| 134 | enabled: false, |
| 135 | recovery_available: true, |
| 136 | arch: { |
| 137 | x86: { |
| 138 | enabled: true, |
| 139 | }, |
| 140 | }, |
| 141 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 142 | has_stubs: true, |
| 143 | } |
| 144 | |
| 145 | libclang_rt_prebuilt_library_shared { |
| 146 | name: "libclang_rt.asan-x86_64-android", |
| 147 | sdk_version: "minimum", |
| 148 | host_supported: true, |
| 149 | enabled: false, |
| 150 | recovery_available: true, |
| 151 | arch: { |
| 152 | x86_64: { |
| 153 | enabled: true, |
| 154 | }, |
| 155 | }, |
| 156 | target: { |
| 157 | linux_bionic: { |
| 158 | enabled: true, |
| 159 | }, |
| 160 | }, |
| 161 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 162 | has_stubs: true, |
| 163 | } |
| 164 | |
| 165 | libclang_rt_llndk_library { |
| 166 | name: "libclang_rt.asan-arm-android", |
| 167 | enabled: false, |
| 168 | arch: { |
| 169 | arm: { |
| 170 | enabled: true, |
| 171 | }, |
| 172 | }, |
| 173 | } |
| 174 | |
| 175 | libclang_rt_llndk_library { |
| 176 | name: "libclang_rt.asan-aarch64-android", |
| 177 | enabled: false, |
| 178 | arch: { |
| 179 | arm64: { |
| 180 | enabled: true, |
| 181 | }, |
| 182 | }, |
| 183 | } |
| 184 | |
| 185 | libclang_rt_llndk_library { |
| 186 | name: "libclang_rt.asan-i686-android", |
| 187 | enabled: false, |
| 188 | arch: { |
| 189 | x86: { |
| 190 | enabled: true, |
| 191 | }, |
| 192 | }, |
| 193 | } |
| 194 | |
| 195 | libclang_rt_llndk_library { |
| 196 | name: "libclang_rt.asan-x86_64-android", |
| 197 | enabled: false, |
| 198 | arch: { |
| 199 | x86_64: { |
| 200 | enabled: true, |
| 201 | }, |
| 202 | }, |
| 203 | } |
| 204 | |
| 205 | libclang_rt_llndk_library { |
| 206 | name: "libclang_rt.hwasan-aarch64-android", |
| 207 | enabled: false, |
| 208 | arch: { |
| 209 | arm64: { |
| 210 | enabled: true, |
| 211 | }, |
| 212 | }, |
| 213 | } |
| 214 | |
| 215 | libclang_rt_prebuilt_library_shared { |
| 216 | name: "libclang_rt.ubsan_standalone-arm-android", |
| 217 | sdk_version: "24", |
| 218 | enabled: false, |
| 219 | vendor_available: true, |
| 220 | recovery_available: true, |
| 221 | double_loadable: true, |
| 222 | vndk: { |
| 223 | enabled: true, |
| 224 | }, |
| 225 | arch: { |
| 226 | arm: { |
| 227 | enabled: true, |
| 228 | }, |
| 229 | }, |
| 230 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 231 | } |
| 232 | |
| 233 | libclang_rt_prebuilt_library_shared { |
| 234 | name: "libclang_rt.ubsan_standalone-aarch64-android", |
| 235 | sdk_version: "minimum", |
| 236 | enabled: false, |
| 237 | vendor_available: true, |
| 238 | recovery_available: true, |
| 239 | double_loadable: true, |
| 240 | vndk: { |
| 241 | enabled: true, |
| 242 | }, |
| 243 | arch: { |
| 244 | arm64: { |
| 245 | enabled: true, |
| 246 | }, |
| 247 | }, |
| 248 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 249 | } |
| 250 | |
| 251 | libclang_rt_prebuilt_library_shared { |
| 252 | name: "libclang_rt.ubsan_standalone-i686-android", |
| 253 | sdk_version: "minimum", |
| 254 | enabled: false, |
| 255 | vendor_available: true, |
| 256 | recovery_available: true, |
| 257 | double_loadable: true, |
| 258 | vndk: { |
| 259 | enabled: true, |
| 260 | }, |
| 261 | arch: { |
| 262 | x86: { |
| 263 | enabled: true, |
| 264 | }, |
| 265 | }, |
| 266 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 267 | } |
| 268 | |
| 269 | libclang_rt_prebuilt_library_shared { |
| 270 | name: "libclang_rt.ubsan_standalone-x86_64-android", |
| 271 | sdk_version: "minimum", |
| 272 | enabled: false, |
| 273 | vendor_available: true, |
| 274 | recovery_available: true, |
| 275 | double_loadable: true, |
| 276 | vndk: { |
| 277 | enabled: true, |
| 278 | }, |
| 279 | arch: { |
| 280 | x86_64: { |
| 281 | enabled: true, |
| 282 | }, |
| 283 | }, |
| 284 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 285 | } |
| 286 | |
| 287 | libclang_rt_prebuilt_library_static { |
| 288 | name: "libclang_rt.ubsan_minimal-arm-android", |
| 289 | sdk_version: "minimum", |
| 290 | enabled: false, |
| 291 | vendor_available: true, |
| 292 | vndk: { |
| 293 | enabled: true, |
| 294 | }, |
| 295 | arch: { |
| 296 | arm: { |
| 297 | enabled: true, |
| 298 | }, |
| 299 | }, |
| 300 | } |
| 301 | |
| 302 | libclang_rt_prebuilt_library_static { |
| 303 | name: "libclang_rt.ubsan_minimal-aarch64-android", |
| 304 | sdk_version: "minimum", |
| 305 | enabled: false, |
| 306 | vendor_available: true, |
| 307 | vndk: { |
| 308 | enabled: true, |
| 309 | }, |
| 310 | arch: { |
| 311 | arm64: { |
| 312 | enabled: true, |
| 313 | }, |
| 314 | }, |
| 315 | } |
| 316 | |
| 317 | libclang_rt_prebuilt_library_static { |
| 318 | name: "libclang_rt.ubsan_minimal-i686-android", |
| 319 | sdk_version: "minimum", |
| 320 | enabled: false, |
| 321 | vendor_available: true, |
| 322 | vndk: { |
| 323 | enabled: true, |
| 324 | }, |
| 325 | arch: { |
| 326 | x86: { |
| 327 | enabled: true, |
| 328 | }, |
| 329 | }, |
| 330 | } |
| 331 | |
| 332 | libclang_rt_prebuilt_library_static { |
| 333 | name: "libclang_rt.ubsan_minimal-x86_64-android", |
| 334 | sdk_version: "minimum", |
| 335 | enabled: false, |
| 336 | vendor_available: true, |
| 337 | vndk: { |
| 338 | enabled: true, |
| 339 | }, |
| 340 | arch: { |
| 341 | x86_64: { |
| 342 | enabled: true, |
| 343 | }, |
| 344 | }, |
| 345 | } |
| 346 | |
| 347 | libclang_rt_prebuilt_library_static { |
| 348 | name: "libclang_rt.hwasan_static-aarch64-android", |
| 349 | sdk_version: "minimum", |
| 350 | enabled: false, |
| 351 | recovery_available: true, |
| 352 | vendor_available: true, |
| 353 | arch: { |
| 354 | arm64: { |
| 355 | enabled: true, |
| 356 | }, |
| 357 | }, |
| 358 | } |
| 359 | |
| 360 | libclang_rt_prebuilt_library_shared { |
| 361 | name: "libclang_rt.hwasan-aarch64-android", |
| 362 | sdk_version: "minimum", |
| 363 | enabled: false, |
| 364 | recovery_available: true, |
| 365 | arch: { |
| 366 | arm64: { |
| 367 | enabled: true, |
| 368 | }, |
| 369 | }, |
| 370 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 371 | has_stubs: true, |
| 372 | } |
| 373 | |
| 374 | libclang_rt_prebuilt_library_static { |
| 375 | name: "libclang_rt.profile-arm-android", |
| 376 | sdk_version: "minimum", |
| 377 | enabled: false, |
| 378 | recovery_available: true, |
| 379 | vendor_available: true, |
| 380 | arch: { |
| 381 | arm: { |
| 382 | enabled: true, |
| 383 | }, |
| 384 | }, |
| 385 | } |
| 386 | |
| 387 | libclang_rt_prebuilt_library_static { |
| 388 | name: "libclang_rt.profile-aarch64-android", |
| 389 | sdk_version: "minimum", |
| 390 | enabled: false, |
| 391 | recovery_available: true, |
| 392 | vendor_available: true, |
| 393 | arch: { |
| 394 | arm64: { |
| 395 | enabled: true, |
| 396 | }, |
| 397 | }, |
| 398 | } |
| 399 | |
| 400 | libclang_rt_prebuilt_library_static { |
| 401 | name: "libclang_rt.profile-i686-android", |
| 402 | sdk_version: "minimum", |
| 403 | enabled: false, |
| 404 | recovery_available: true, |
| 405 | vendor_available: true, |
| 406 | arch: { |
| 407 | x86: { |
| 408 | enabled: true, |
| 409 | }, |
| 410 | }, |
| 411 | } |
| 412 | |
| 413 | libclang_rt_prebuilt_library_static { |
| 414 | name: "libclang_rt.profile-x86_64-android", |
| 415 | sdk_version: "minimum", |
| 416 | enabled: false, |
| 417 | recovery_available: true, |
| 418 | vendor_available: true, |
| 419 | arch: { |
| 420 | x86_64: { |
| 421 | enabled: true, |
| 422 | }, |
| 423 | }, |
| 424 | } |
| 425 | |
| 426 | libclang_rt_prebuilt_library_static { |
| 427 | name: "libclang_rt.profile-x86_64", |
| 428 | sdk_version: "minimum", |
| 429 | enabled: false, |
| 430 | host_supported: true, |
| 431 | target: { |
| 432 | linux_glibc_x86_64: { |
| 433 | enabled: true, |
| 434 | }, |
| 435 | }, |
| 436 | } |
| 437 | |
| 438 | libclang_rt_prebuilt_library_static { |
| 439 | name: "libclang_rt.profile-i386", |
| 440 | sdk_version: "minimum", |
| 441 | enabled: false, |
| 442 | host_supported: true, |
| 443 | target: { |
| 444 | linux_glibc_x86: { |
| 445 | enabled: true, |
| 446 | }, |
| 447 | }, |
| 448 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 449 | } |
| 450 | |
| 451 | libclang_rt_prebuilt_library_shared { |
| 452 | name: "libclang_rt.scudo-arm-android", |
| 453 | sdk_version: "24", |
| 454 | enabled: false, |
| 455 | vendor_available: true, |
| 456 | vndk: { |
| 457 | enabled: true, |
| 458 | }, |
| 459 | arch: { |
| 460 | arm: { |
| 461 | enabled: true, |
| 462 | }, |
| 463 | }, |
| 464 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 465 | } |
| 466 | |
| 467 | libclang_rt_prebuilt_library_shared { |
| 468 | name: "libclang_rt.scudo-aarch64-android", |
| 469 | sdk_version: "minimum", |
| 470 | enabled: false, |
| 471 | vendor_available: true, |
| 472 | vndk: { |
| 473 | enabled: true, |
| 474 | }, |
| 475 | arch: { |
| 476 | arm64: { |
| 477 | enabled: true, |
| 478 | }, |
| 479 | }, |
| 480 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 481 | } |
| 482 | |
| 483 | libclang_rt_prebuilt_library_shared { |
| 484 | name: "libclang_rt.scudo-i686-android", |
| 485 | sdk_version: "minimum", |
| 486 | enabled: false, |
| 487 | vendor_available: true, |
| 488 | vndk: { |
| 489 | enabled: true, |
| 490 | }, |
| 491 | arch: { |
| 492 | x86: { |
| 493 | enabled: true, |
| 494 | }, |
| 495 | }, |
| 496 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 497 | } |
| 498 | |
| 499 | libclang_rt_prebuilt_library_shared { |
| 500 | name: "libclang_rt.scudo-x86_64-android", |
| 501 | sdk_version: "minimum", |
| 502 | enabled: false, |
| 503 | vendor_available: true, |
| 504 | vndk: { |
| 505 | enabled: true, |
| 506 | }, |
| 507 | arch: { |
| 508 | x86_64: { |
| 509 | enabled: true, |
| 510 | }, |
| 511 | }, |
| 512 | check_elf_files: false, // Bypass circular dependency between libc++ |
| 513 | } |
| 514 | |
| 515 | libclang_rt_prebuilt_library_static { |
| 516 | name: "libclang_rt.scudo-arm-android.static", |
| 517 | enabled: false, |
| 518 | vendor_available: true, |
| 519 | sanitize: { |
| 520 | never: true, |
| 521 | }, |
| 522 | arch: { |
| 523 | arm: { |
| 524 | enabled: true, |
| 525 | }, |
| 526 | }, |
| 527 | } |
| 528 | |
| 529 | libclang_rt_prebuilt_library_static { |
| 530 | name: "libclang_rt.scudo-aarch64-android.static", |
| 531 | enabled: false, |
| 532 | vendor_available: true, |
| 533 | sanitize: { |
| 534 | never: true, |
| 535 | }, |
| 536 | arch: { |
| 537 | arm64: { |
| 538 | enabled: true, |
| 539 | }, |
| 540 | }, |
| 541 | } |
| 542 | |
| 543 | libclang_rt_prebuilt_library_static { |
| 544 | name: "libclang_rt.scudo-i686-android.static", |
| 545 | enabled: false, |
| 546 | vendor_available: true, |
| 547 | sanitize: { |
| 548 | never: true, |
| 549 | }, |
| 550 | arch: { |
| 551 | x86: { |
| 552 | enabled: true, |
| 553 | }, |
| 554 | }, |
| 555 | } |
| 556 | |
| 557 | libclang_rt_prebuilt_library_static { |
| 558 | name: "libclang_rt.scudo-x86_64-android.static", |
| 559 | enabled: false, |
| 560 | vendor_available: true, |
| 561 | sanitize: { |
| 562 | never: true, |
| 563 | }, |
| 564 | arch: { |
| 565 | x86_64: { |
| 566 | enabled: true, |
| 567 | }, |
| 568 | }, |
| 569 | } |
| 570 | |
| 571 | libclang_rt_prebuilt_library_shared { |
| 572 | name: "libclang_rt.scudo_minimal-arm-android", |
| 573 | sdk_version: "24", |
| 574 | enabled: false, |
| 575 | vendor_available: true, |
| 576 | vndk: { |
| 577 | enabled: true, |
| 578 | }, |
| 579 | arch: { |
| 580 | arm: { |
| 581 | enabled: true, |
| 582 | }, |
| 583 | }, |
| 584 | shared_libs: ["libc", "libdl", "liblog"], |
| 585 | } |
| 586 | |
| 587 | libclang_rt_prebuilt_library_shared { |
| 588 | name: "libclang_rt.scudo_minimal-aarch64-android", |
| 589 | sdk_version: "minimum", |
| 590 | enabled: false, |
| 591 | vendor_available: true, |
| 592 | vndk: { |
| 593 | enabled: true, |
| 594 | }, |
| 595 | arch: { |
| 596 | arm64: { |
| 597 | enabled: true, |
| 598 | }, |
| 599 | }, |
| 600 | shared_libs: ["libc", "libdl", "liblog"], |
| 601 | } |
| 602 | |
| 603 | libclang_rt_prebuilt_library_shared { |
| 604 | name: "libclang_rt.scudo_minimal-i686-android", |
| 605 | sdk_version: "minimum", |
| 606 | enabled: false, |
| 607 | vendor_available: true, |
| 608 | vndk: { |
| 609 | enabled: true, |
| 610 | }, |
| 611 | arch: { |
| 612 | x86: { |
| 613 | enabled: true, |
| 614 | }, |
| 615 | }, |
| 616 | shared_libs: ["libc", "libdl", "liblog"], |
| 617 | } |
| 618 | |
| 619 | libclang_rt_prebuilt_library_shared { |
| 620 | name: "libclang_rt.scudo_minimal-x86_64-android", |
| 621 | sdk_version: "minimum", |
| 622 | enabled: false, |
| 623 | vendor_available: true, |
| 624 | vndk: { |
| 625 | enabled: true, |
| 626 | }, |
| 627 | arch: { |
| 628 | x86_64: { |
| 629 | enabled: true, |
| 630 | }, |
| 631 | }, |
| 632 | shared_libs: ["libc", "libdl", "liblog"], |
| 633 | } |
| 634 | |
| 635 | libclang_rt_prebuilt_library_static { |
| 636 | name: "libclang_rt.scudo_minimal-arm-android.static", |
| 637 | enabled: false, |
| 638 | vendor_available: true, |
| 639 | sanitize: { |
| 640 | never: true, |
| 641 | }, |
| 642 | arch: { |
| 643 | arm: { |
| 644 | enabled: true, |
| 645 | }, |
| 646 | }, |
| 647 | } |
| 648 | |
| 649 | libclang_rt_prebuilt_library_static { |
| 650 | name: "libclang_rt.scudo_minimal-aarch64-android.static", |
| 651 | enabled: false, |
| 652 | vendor_available: true, |
| 653 | sanitize: { |
| 654 | never: true, |
| 655 | }, |
| 656 | arch: { |
| 657 | arm64: { |
| 658 | enabled: true, |
| 659 | }, |
| 660 | }, |
| 661 | } |
| 662 | |
| 663 | libclang_rt_prebuilt_library_static { |
| 664 | name: "libclang_rt.scudo_minimal-i686-android.static", |
| 665 | enabled: false, |
| 666 | vendor_available: true, |
| 667 | sanitize: { |
| 668 | never: true, |
| 669 | }, |
| 670 | arch: { |
| 671 | x86: { |
| 672 | enabled: true, |
| 673 | }, |
| 674 | }, |
| 675 | } |
| 676 | |
| 677 | libclang_rt_prebuilt_library_static { |
| 678 | name: "libclang_rt.scudo_minimal-x86_64-android.static", |
| 679 | enabled: false, |
| 680 | vendor_available: true, |
| 681 | sanitize: { |
| 682 | never: true, |
| 683 | }, |
| 684 | arch: { |
| 685 | x86_64: { |
| 686 | enabled: true, |
| 687 | }, |
| 688 | }, |
| 689 | } |
| 690 | |
| 691 | // ----------------------------------------------------------------------------- |
| 692 | // Export shared libraries for host tools (libLLVM, libclang, libc++). These |
| 693 | // are exported only when the LLVM_BUILD_HOST_TOOLS environment variable is set. |
| 694 | // ----------------------------------------------------------------------------- |
| 695 | |
| 696 | // Export LLVM_BUILD_HOST_TOOLS |
| 697 | llvm_host_defaults { |
| 698 | name: "llvm-build-host-tools-defaults", |
| 699 | } |
| 700 | |
| 701 | // Export libLLVM shared library |
| 702 | llvm_host_prebuilt_library_shared { |
| 703 | name: "libLLVM_host", |
| 704 | sanitize: { |
| 705 | never: true, |
| 706 | }, |
| 707 | compile_multilib: "64", |
| 708 | shared_libs: ["libc++_host"], |
| 709 | } |
| 710 | |
| 711 | // Export libclang_cxx shared library |
| 712 | llvm_host_prebuilt_library_shared { |
| 713 | name: "libclang_cxx_host", |
| 714 | sanitize: { |
| 715 | never: true, |
| 716 | }, |
| 717 | compile_multilib: "64", |
| 718 | shared_libs: ["libc++_host"], |
| 719 | } |
| 720 | |
| 721 | // Export libc++.so for the host LLVM tools |
| 722 | llvm_host_prebuilt_library_shared { |
| 723 | name: "libc++_host", |
| 724 | sanitize: { |
| 725 | never: true, |
| 726 | }, |
| 727 | compile_multilib: "64", |
| 728 | target: { |
| 729 | darwin: { |
| 730 | shared_libs: ["libc++abi_host"], |
| 731 | }, |
| 732 | }, |
| 733 | } |
| 734 | |
| 735 | // Export libc++abi.so for the host LLVM tools |
| 736 | llvm_host_prebuilt_library_shared { |
| 737 | name: "libc++abi_host", |
| 738 | sanitize: { |
| 739 | never: true, |
| 740 | }, |
| 741 | compile_multilib: "64", |
| 742 | } |
| 743 | |
| 744 | clang_builtin_headers { |
| 745 | name: "clang_builtin_headers_resources", |
| 746 | tool_files: ["soong/generate_clang_builtin_headers_resources.sh"], |
| 747 | out: ["clang_builtin_headers_resources.inc"], |
| 748 | } |
| 749 | |
| 750 | subdirs = [ |
| 751 | "soong", |
| 752 | ] |