1# Copyright (C) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/config/ohos/config.gni") 15import("//build/ohos.gni") 16import("//foundation/arkui/napi/napi.gni") 17 18config("config") { 19 visibility = [ ":*" ] 20 21 cflags = [ 22 "-Wall", 23 "-Werror", 24 "-g3", 25 "-Wunused-variable", 26 "-fexceptions", 27 ] 28 29 cflags_cc = [ "-fexceptions" ] 30 cflags_objcc = cflags_cc 31} 32 33config("public_config") { 34} 35 36ohos_shared_library("applicationTargetSdkVersionndk") { 37 testonly = true 38 subsystem_name = "thirdparty" 39 part_name = "musl" 40 sources = [ "./applicationTargetSdkVersionndk.cpp" ] 41 libs = [ rebase_path(libcxx_ndk_shared_file) ] 42 43 include_dirs = [ "../cpp" ] 44 configs = [ ":config" ] 45 46 external_deps = [ "napi:ace_napi" ] 47 48 output_extension = "so" 49} 50ohos_shared_library("capabilityndk") { 51 testonly = true 52 subsystem_name = "thirdparty" 53 part_name = "musl" 54 sources = [ "./capabilityndk.cpp" ] 55 libs = [ rebase_path(libcxx_ndk_shared_file) ] 56 57 include_dirs = [ "../cpp" ] 58 configs = [ ":config" ] 59 60 external_deps = [ "napi:ace_napi" ] 61 62 output_extension = "so" 63} 64ohos_shared_library("complexndk") { 65 testonly = true 66 subsystem_name = "thirdparty" 67 part_name = "musl" 68 sources = [ "./complexndk.cpp" ] 69 libs = [ rebase_path(libcxx_ndk_shared_file) ] 70 71 include_dirs = [ 72 "../cpp", 73 "//third_party/musl/include", 74 ] 75 configs = [ ":config" ] 76 77 external_deps = [ "napi:ace_napi" ] 78 79 output_extension = "so" 80} 81ohos_shared_library("deviceApiVersionndk") { 82 testonly = true 83 subsystem_name = "thirdparty" 84 part_name = "musl" 85 sources = [ "./deviceApiVersionndk.cpp" ] 86 libs = [ rebase_path(libcxx_ndk_shared_file) ] 87 88 include_dirs = [ "../cpp" ] 89 configs = [ ":config" ] 90 91 external_deps = [ "napi:ace_napi" ] 92 93 output_extension = "so" 94} 95ohos_shared_library("ctypendk") { 96 testonly = true 97 subsystem_name = "thirdparty" 98 part_name = "musl" 99 sources = [ "./ctypendk.cpp" ] 100 libs = [ rebase_path(libcxx_ndk_shared_file) ] 101 102 include_dirs = [ "../cpp" ] 103 configs = [ ":config" ] 104 105 external_deps = [ "napi:ace_napi" ] 106 107 output_extension = "so" 108} 109ohos_shared_library("direntndk") { 110 testonly = true 111 subsystem_name = "thirdparty" 112 part_name = "musl" 113 sources = [ "./direntndk.cpp" ] 114 libs = [ rebase_path(libcxx_ndk_shared_file) ] 115 116 include_dirs = [ "../cpp" ] 117 configs = [ ":config" ] 118 119 external_deps = [ "napi:ace_napi" ] 120 121 output_extension = "so" 122} 123ohos_shared_library("errndk") { 124 testonly = true 125 subsystem_name = "thirdparty" 126 part_name = "musl" 127 sources = [ "./errndk.cpp" ] 128 libs = [ rebase_path(libcxx_ndk_shared_file) ] 129 130 include_dirs = [ "../cpp" ] 131 configs = [ ":config" ] 132 133 external_deps = [ "napi:ace_napi" ] 134 135 output_extension = "so" 136} 137ohos_shared_library("fcntlndk") { 138 testonly = true 139 subsystem_name = "thirdparty" 140 part_name = "musl" 141 sources = [ "./fcntlndk.cpp" ] 142 libs = [ rebase_path(libcxx_ndk_shared_file) ] 143 144 include_dirs = [ "../cpp" ] 145 configs = [ ":config" ] 146 147 external_deps = [ "napi:ace_napi" ] 148 149 output_extension = "so" 150} 151ohos_shared_library("fenvndk") { 152 testonly = true 153 subsystem_name = "thirdparty" 154 part_name = "musl" 155 sources = [ "./fenvndk.cpp" ] 156 libs = [ rebase_path(libcxx_ndk_shared_file) ] 157 158 include_dirs = [ "../cpp" ] 159 configs = [ ":config" ] 160 161 external_deps = [ "napi:ace_napi" ] 162 163 output_extension = "so" 164} 165ohos_shared_library("fenvndk1") { 166 testonly = true 167 subsystem_name = "thirdparty" 168 part_name = "musl" 169 sources = [ "./fenvndk1.cpp" ] 170 libs = [ rebase_path(libcxx_ndk_shared_file) ] 171 172 include_dirs = [ "../cpp" ] 173 configs = [ ":config" ] 174 175 external_deps = [ "napi:ace_napi" ] 176 177 output_extension = "so" 178} 179 180ohos_shared_library("fsuidndk") { 181 testonly = true 182 subsystem_name = "thirdparty" 183 part_name = "musl" 184 sources = [ "./fsuidndk.cpp" ] 185 libs = [ rebase_path(libcxx_ndk_shared_file) ] 186 187 include_dirs = [ "../cpp" ] 188 configs = [ ":config" ] 189 190 external_deps = [ "napi:ace_napi" ] 191 192 output_extension = "so" 193} 194ohos_shared_library("fsuidndk1") { 195 testonly = true 196 subsystem_name = "thirdparty" 197 part_name = "musl" 198 sources = [ "./fsuidndk1.cpp" ] 199 libs = [ rebase_path(libcxx_ndk_shared_file) ] 200 201 include_dirs = [ "../cpp" ] 202 configs = [ ":config" ] 203 204 external_deps = [ "napi:ace_napi" ] 205 206 output_extension = "so" 207} 208ohos_shared_library("ftwndk") { 209 testonly = true 210 subsystem_name = "thirdparty" 211 part_name = "musl" 212 sources = [ "./ftwndk.cpp" ] 213 libs = [ rebase_path(libcxx_ndk_shared_file) ] 214 215 include_dirs = [ "../cpp" ] 216 configs = [ ":config" ] 217 218 external_deps = [ "napi:ace_napi" ] 219 220 output_extension = "so" 221} 222ohos_shared_library("getoptndk") { 223 testonly = true 224 subsystem_name = "thirdparty" 225 part_name = "musl" 226 sources = [ "./getoptndk.cpp" ] 227 libs = [ rebase_path(libcxx_ndk_shared_file) ] 228 229 include_dirs = [ "../cpp" ] 230 configs = [ ":config" ] 231 232 external_deps = [ "napi:ace_napi" ] 233 234 output_extension = "so" 235} 236ohos_shared_library("globndk") { 237 testonly = true 238 subsystem_name = "thirdparty" 239 part_name = "musl" 240 sources = [ "./globndk.cpp" ] 241 libs = [ rebase_path(libcxx_ndk_shared_file) ] 242 243 include_dirs = [ "../cpp" ] 244 configs = [ ":config" ] 245 246 external_deps = [ "napi:ace_napi" ] 247 248 output_extension = "so" 249} 250ohos_shared_library("iconvndk") { 251 testonly = true 252 subsystem_name = "thirdparty" 253 part_name = "musl" 254 sources = [ "./iconvndk.cpp" ] 255 libs = [ rebase_path(libcxx_ndk_shared_file) ] 256 257 include_dirs = [ "../cpp" ] 258 configs = [ ":config" ] 259 260 external_deps = [ "napi:ace_napi" ] 261 262 output_extension = "so" 263} 264ohos_shared_library("ifndk") { 265 testonly = true 266 subsystem_name = "thirdparty" 267 part_name = "musl" 268 sources = [ "./ifndk.cpp" ] 269 libs = [ rebase_path(libcxx_ndk_shared_file) ] 270 271 include_dirs = [ "../cpp" ] 272 configs = [ ":config" ] 273 274 external_deps = [ "napi:ace_napi" ] 275 276 output_extension = "so" 277} 278ohos_shared_library("initndk") { 279 testonly = true 280 subsystem_name = "thirdparty" 281 part_name = "musl" 282 sources = [ "./initndk.cpp" ] 283 libs = [ rebase_path(libcxx_ndk_shared_file) ] 284 285 include_dirs = [ "../cpp" ] 286 configs = [ ":config" ] 287 288 external_deps = [ "napi:ace_napi" ] 289 290 output_extension = "so" 291} 292ohos_shared_library("inndk") { 293 testonly = true 294 subsystem_name = "thirdparty" 295 part_name = "musl" 296 sources = [ "./inndk.cpp" ] 297 libs = [ rebase_path(libcxx_ndk_shared_file) ] 298 299 include_dirs = [ "../cpp" ] 300 configs = [ ":config" ] 301 302 external_deps = [ "napi:ace_napi" ] 303 304 output_extension = "so" 305} 306ohos_shared_library("ipcndk") { 307 testonly = true 308 subsystem_name = "thirdparty" 309 part_name = "musl" 310 sources = [ "./ipcndk.cpp" ] 311 libs = [ rebase_path(libcxx_ndk_shared_file) ] 312 313 include_dirs = [ "../cpp" ] 314 configs = [ ":config" ] 315 316 external_deps = [ "napi:ace_napi" ] 317 318 output_extension = "so" 319} 320ohos_shared_library("klogndk") { 321 testonly = true 322 subsystem_name = "thirdparty" 323 part_name = "musl" 324 sources = [ "./klogndk.cpp" ] 325 libs = [ rebase_path(libcxx_ndk_shared_file) ] 326 327 include_dirs = [ "../cpp" ] 328 configs = [ ":config" ] 329 330 external_deps = [ "napi:ace_napi" ] 331 332 output_extension = "so" 333} 334ohos_shared_library("klogndk1") { 335 testonly = true 336 subsystem_name = "thirdparty" 337 part_name = "musl" 338 sources = [ "./klogndk1.cpp" ] 339 libs = [ rebase_path(libcxx_ndk_shared_file) ] 340 341 include_dirs = [ "../cpp" ] 342 configs = [ ":config" ] 343 344 external_deps = [ "napi:ace_napi" ] 345 346 output_extension = "so" 347} 348ohos_shared_library("langinfondk") { 349 testonly = true 350 subsystem_name = "thirdparty" 351 part_name = "musl" 352 sources = [ "./langinfondk.cpp" ] 353 libs = [ rebase_path(libcxx_ndk_shared_file) ] 354 355 include_dirs = [ "../cpp" ] 356 configs = [ ":config" ] 357 358 external_deps = [ "napi:ace_napi" ] 359 360 output_extension = "so" 361} 362ohos_shared_library("libgenndk") { 363 testonly = true 364 subsystem_name = "thirdparty" 365 part_name = "musl" 366 sources = [ "./libgenndk.cpp" ] 367 libs = [ rebase_path(libcxx_ndk_shared_file) ] 368 369 include_dirs = [ "../cpp" ] 370 configs = [ ":config" ] 371 372 external_deps = [ "napi:ace_napi" ] 373 374 output_extension = "so" 375} 376ohos_shared_library("localendk") { 377 testonly = true 378 subsystem_name = "thirdparty" 379 part_name = "musl" 380 sources = [ "./localendk.cpp" ] 381 libs = [ rebase_path(libcxx_ndk_shared_file) ] 382 383 include_dirs = [ "../cpp" ] 384 configs = [ ":config" ] 385 386 external_deps = [ "napi:ace_napi" ] 387 388 output_extension = "so" 389} 390ohos_shared_library("mallocndk") { 391 testonly = true 392 subsystem_name = "thirdparty" 393 part_name = "musl" 394 sources = [ "./mallocndk.cpp" ] 395 libs = [ rebase_path(libcxx_ndk_shared_file) ] 396 397 include_dirs = [ "../cpp" ] 398 configs = [ ":config" ] 399 400 external_deps = [ "napi:ace_napi" ] 401 402 output_extension = "so" 403} 404ohos_shared_library("membarrierndk") { 405 testonly = true 406 subsystem_name = "thirdparty" 407 part_name = "musl" 408 sources = [ "./membarrierndk.cpp" ] 409 libs = [ rebase_path(libcxx_ndk_shared_file) ] 410 411 include_dirs = [ "../cpp" ] 412 configs = [ ":config" ] 413 414 external_deps = [ "napi:ace_napi" ] 415 416 output_extension = "so" 417} 418ohos_shared_library("mmanndk") { 419 testonly = true 420 subsystem_name = "thirdparty" 421 part_name = "musl" 422 sources = [ "./mmanndk.cpp" ] 423 libs = [ rebase_path(libcxx_ndk_shared_file) ] 424 425 include_dirs = [ "../cpp" ] 426 configs = [ ":config" ] 427 428 external_deps = [ "napi:ace_napi" ] 429 430 output_extension = "so" 431} 432ohos_shared_library("mmanndk1") { 433 testonly = true 434 subsystem_name = "thirdparty" 435 part_name = "musl" 436 sources = [ "./mmanndk1.cpp" ] 437 libs = [ rebase_path(libcxx_ndk_shared_file) ] 438 439 include_dirs = [ "../cpp" ] 440 configs = [ ":config" ] 441 442 external_deps = [ "napi:ace_napi" ] 443 444 output_extension = "so" 445} 446ohos_shared_library("mntentndk") { 447 testonly = true 448 subsystem_name = "thirdparty" 449 part_name = "musl" 450 sources = [ "./mntentndk.cpp" ] 451 libs = [ rebase_path(libcxx_ndk_shared_file) ] 452 453 include_dirs = [ "../cpp" ] 454 configs = [ ":config" ] 455 456 external_deps = [ "napi:ace_napi" ] 457 458 output_extension = "so" 459} 460ohos_shared_library("mntentndk1") { 461 testonly = true 462 subsystem_name = "thirdparty" 463 part_name = "musl" 464 sources = [ "./mntentndk1.cpp" ] 465 libs = [ rebase_path(libcxx_ndk_shared_file) ] 466 467 include_dirs = [ "../cpp" ] 468 configs = [ ":config" ] 469 470 external_deps = [ "napi:ace_napi" ] 471 472 output_extension = "so" 473} 474ohos_shared_library("mountndk") { 475 testonly = true 476 subsystem_name = "thirdparty" 477 part_name = "musl" 478 sources = [ "./mountndk.cpp" ] 479 libs = [ rebase_path(libcxx_ndk_shared_file) ] 480 481 include_dirs = [ "../cpp" ] 482 configs = [ ":config" ] 483 484 external_deps = [ "napi:ace_napi" ] 485 486 output_extension = "so" 487} 488ohos_shared_library("mountndk1") { 489 testonly = true 490 subsystem_name = "thirdparty" 491 part_name = "musl" 492 sources = [ "./mountndk1.cpp" ] 493 libs = [ rebase_path(libcxx_ndk_shared_file) ] 494 495 include_dirs = [ "../cpp" ] 496 configs = [ ":config" ] 497 498 external_deps = [ "napi:ace_napi" ] 499 500 output_extension = "so" 501} 502ohos_shared_library("msgndk") { 503 testonly = true 504 subsystem_name = "thirdparty" 505 part_name = "musl" 506 sources = [ "./msgndk.cpp" ] 507 libs = [ rebase_path(libcxx_ndk_shared_file) ] 508 509 include_dirs = [ "../cpp" ] 510 configs = [ ":config" ] 511 512 external_deps = [ "napi:ace_napi" ] 513 514 output_extension = "so" 515} 516ohos_shared_library("nameserndk") { 517 testonly = true 518 subsystem_name = "thirdparty" 519 part_name = "musl" 520 sources = [ "./nameserndk.cpp" ] 521 libs = [ rebase_path(libcxx_ndk_shared_file) ] 522 523 include_dirs = [ "../cpp" ] 524 configs = [ ":config" ] 525 526 external_deps = [ "napi:ace_napi" ] 527 528 output_extension = "so" 529} 530ohos_shared_library("nltypesndk") { 531 testonly = true 532 subsystem_name = "thirdparty" 533 part_name = "musl" 534 sources = [ "./nltypesndk.cpp" ] 535 libs = [ rebase_path(libcxx_ndk_shared_file) ] 536 537 include_dirs = [ "../cpp" ] 538 configs = [ ":config" ] 539 540 external_deps = [ "napi:ace_napi" ] 541 542 output_extension = "so" 543} 544ohos_shared_library("otherstestndk") { 545 testonly = true 546 subsystem_name = "thirdparty" 547 part_name = "musl" 548 sources = [ "./otherstestndk.cpp" ] 549 libs = [ rebase_path(libcxx_ndk_shared_file) ] 550 551 include_dirs = [ "../cpp" ] 552 configs = [ ":config" ] 553 554 external_deps = [ "napi:ace_napi" ] 555 556 output_extension = "so" 557} 558ohos_shared_library("personalityndk") { 559 testonly = true 560 subsystem_name = "thirdparty" 561 part_name = "musl" 562 sources = [ "./personalityndk.cpp" ] 563 libs = [ rebase_path(libcxx_ndk_shared_file) ] 564 565 include_dirs = [ "../cpp" ] 566 configs = [ ":config" ] 567 568 external_deps = [ "napi:ace_napi" ] 569 570 output_extension = "so" 571} 572ohos_shared_library("pollndk") { 573 testonly = true 574 subsystem_name = "thirdparty" 575 part_name = "musl" 576 sources = [ "./pollndk.cpp" ] 577 libs = [ rebase_path(libcxx_ndk_shared_file) ] 578 579 include_dirs = [ "../cpp" ] 580 configs = [ ":config" ] 581 582 external_deps = [ "napi:ace_napi" ] 583 584 output_extension = "so" 585} 586ohos_shared_library("prctlndk") { 587 testonly = true 588 subsystem_name = "thirdparty" 589 part_name = "musl" 590 sources = [ "./prctlndk.cpp" ] 591 libs = [ rebase_path(libcxx_ndk_shared_file) ] 592 593 include_dirs = [ "../cpp" ] 594 configs = [ ":config" ] 595 596 external_deps = [ "napi:ace_napi" ] 597 598 output_extension = "so" 599} 600ohos_shared_library("ptracendk") { 601 testonly = true 602 subsystem_name = "thirdparty" 603 part_name = "musl" 604 sources = [ "./ptracendk.cpp" ] 605 libs = [ rebase_path(libcxx_ndk_shared_file) ] 606 607 include_dirs = [ "../cpp" ] 608 configs = [ ":config" ] 609 610 external_deps = [ "napi:ace_napi" ] 611 612 output_extension = "so" 613} 614ohos_shared_library("ptyndk") { 615 testonly = true 616 subsystem_name = "thirdparty" 617 part_name = "musl" 618 sources = [ "./ptyndk.cpp" ] 619 libs = [ rebase_path(libcxx_ndk_shared_file) ] 620 621 include_dirs = [ "../cpp" ] 622 configs = [ ":config" ] 623 624 external_deps = [ "napi:ace_napi" ] 625 626 output_extension = "so" 627} 628ohos_shared_library("pwdndk") { 629 testonly = true 630 subsystem_name = "thirdparty" 631 part_name = "musl" 632 sources = [ "./pwdndk.cpp" ] 633 libs = [ rebase_path(libcxx_ndk_shared_file) ] 634 635 include_dirs = [ "../cpp" ] 636 configs = [ ":config" ] 637 638 external_deps = [ "napi:ace_napi" ] 639 640 output_extension = "so" 641} 642ohos_shared_library("quotandk") { 643 testonly = true 644 subsystem_name = "thirdparty" 645 part_name = "musl" 646 sources = [ "./quotandk.cpp" ] 647 libs = [ rebase_path(libcxx_ndk_shared_file) ] 648 649 include_dirs = [ "../cpp" ] 650 configs = [ ":config" ] 651 652 external_deps = [ "napi:ace_napi" ] 653 654 output_extension = "so" 655} 656ohos_shared_library("quotandk1") { 657 testonly = true 658 subsystem_name = "thirdparty" 659 part_name = "musl" 660 sources = [ "./quotandk1.cpp" ] 661 libs = [ rebase_path(libcxx_ndk_shared_file) ] 662 663 include_dirs = [ "../cpp" ] 664 configs = [ ":config" ] 665 666 external_deps = [ "napi:ace_napi" ] 667 668 output_extension = "so" 669} 670ohos_shared_library("randomndk") { 671 testonly = true 672 subsystem_name = "thirdparty" 673 part_name = "musl" 674 sources = [ "./randomndk.cpp" ] 675 libs = [ rebase_path(libcxx_ndk_shared_file) ] 676 677 include_dirs = [ "../cpp" ] 678 configs = [ ":config" ] 679 680 external_deps = [ "napi:ace_napi" ] 681 682 output_extension = "so" 683} 684ohos_shared_library("randomndk1") { 685 testonly = true 686 subsystem_name = "thirdparty" 687 part_name = "musl" 688 sources = [ "./randomndk1.cpp" ] 689 libs = [ rebase_path(libcxx_ndk_shared_file) ] 690 691 include_dirs = [ "../cpp" ] 692 configs = [ ":config" ] 693 694 external_deps = [ "napi:ace_napi" ] 695 696 output_extension = "so" 697} 698ohos_shared_library("resolvndk") { 699 testonly = true 700 subsystem_name = "thirdparty" 701 part_name = "musl" 702 sources = [ "./resolvndk.cpp" ] 703 libs = [ rebase_path(libcxx_ndk_shared_file) ] 704 705 include_dirs = [ "../cpp" ] 706 configs = [ ":config" ] 707 708 external_deps = [ "napi:ace_napi" ] 709 710 output_extension = "so" 711} 712ohos_shared_library("searchndk") { 713 testonly = true 714 subsystem_name = "thirdparty" 715 part_name = "musl" 716 sources = [ "./searchndk.cpp" ] 717 libs = [ rebase_path(libcxx_ndk_shared_file) ] 718 719 include_dirs = [ "../cpp" ] 720 configs = [ ":config" ] 721 722 external_deps = [ "napi:ace_napi" ] 723 724 output_extension = "so" 725} 726ohos_shared_library("searchndk1") { 727 testonly = true 728 subsystem_name = "thirdparty" 729 part_name = "musl" 730 sources = [ "./searchndk1.cpp" ] 731 libs = [ rebase_path(libcxx_ndk_shared_file) ] 732 733 include_dirs = [ "../cpp" ] 734 configs = [ ":config" ] 735 736 external_deps = [ "napi:ace_napi" ] 737 738 output_extension = "so" 739} 740ohos_shared_library("selectndk") { 741 testonly = true 742 subsystem_name = "thirdparty" 743 part_name = "musl" 744 sources = [ "./selectndk.cpp" ] 745 libs = [ rebase_path(libcxx_ndk_shared_file) ] 746 747 include_dirs = [ "../cpp" ] 748 configs = [ ":config" ] 749 750 external_deps = [ "napi:ace_napi" ] 751 752 output_extension = "so" 753} 754ohos_shared_library("semndk") { 755 testonly = true 756 subsystem_name = "thirdparty" 757 part_name = "musl" 758 sources = [ "./semndk.cpp" ] 759 libs = [ rebase_path(libcxx_ndk_shared_file) ] 760 761 include_dirs = [ "../cpp" ] 762 configs = [ ":config" ] 763 764 external_deps = [ "napi:ace_napi" ] 765 766 output_extension = "so" 767} 768ohos_shared_library("sendfilendk") { 769 testonly = true 770 subsystem_name = "thirdparty" 771 part_name = "musl" 772 sources = [ "./sendfilendk.cpp" ] 773 libs = [ rebase_path(libcxx_ndk_shared_file) ] 774 775 include_dirs = [ "../cpp" ] 776 configs = [ ":config" ] 777 778 external_deps = [ "napi:ace_napi" ] 779 780 output_extension = "so" 781} 782ohos_shared_library("shmndk") { 783 testonly = true 784 subsystem_name = "thirdparty" 785 part_name = "musl" 786 sources = [ "./shmndk.cpp" ] 787 libs = [ rebase_path(libcxx_ndk_shared_file) ] 788 789 include_dirs = [ "../cpp" ] 790 configs = [ ":config" ] 791 792 external_deps = [ "napi:ace_napi" ] 793 794 output_extension = "so" 795} 796ohos_shared_library("socketndk") { 797 testonly = true 798 subsystem_name = "thirdparty" 799 part_name = "musl" 800 sources = [ "./socketndk.cpp" ] 801 libs = [ rebase_path(libcxx_ndk_shared_file) ] 802 803 include_dirs = [ "../cpp" ] 804 configs = [ ":config" ] 805 806 external_deps = [ "napi:ace_napi" ] 807 808 output_extension = "so" 809} 810ohos_shared_library("spawnndk") { 811 testonly = true 812 subsystem_name = "thirdparty" 813 part_name = "musl" 814 sources = [ "./spawnndk.cpp" ] 815 libs = [ rebase_path(libcxx_ndk_shared_file) ] 816 817 include_dirs = [ "../cpp" ] 818 configs = [ ":config" ] 819 820 external_deps = [ "napi:ace_napi" ] 821 822 output_extension = "so" 823} 824ohos_shared_library("spawnndk1") { 825 testonly = true 826 subsystem_name = "thirdparty" 827 part_name = "musl" 828 sources = [ "./spawnndk1.cpp" ] 829 libs = [ rebase_path(libcxx_ndk_shared_file) ] 830 831 include_dirs = [ "../cpp" ] 832 configs = [ ":config" ] 833 834 external_deps = [ "napi:ace_napi" ] 835 836 output_extension = "so" 837} 838ohos_shared_library("statfsndk") { 839 testonly = true 840 subsystem_name = "thirdparty" 841 part_name = "musl" 842 sources = [ "./statfsndk.cpp" ] 843 libs = [ rebase_path(libcxx_ndk_shared_file) ] 844 845 include_dirs = [ "../cpp" ] 846 configs = [ ":config" ] 847 848 external_deps = [ "napi:ace_napi" ] 849 850 output_extension = "so" 851} 852ohos_shared_library("statndk") { 853 testonly = true 854 subsystem_name = "thirdparty" 855 part_name = "musl" 856 sources = [ "./statndk.cpp" ] 857 libs = [ rebase_path(libcxx_ndk_shared_file) ] 858 859 include_dirs = [ 860 "../cpp", 861 "//base/hiviewdfx/hilog/interfaces/native/kits/include/", 862 ] 863 configs = [ ":config" ] 864 865 external_deps = [ 866 "hilog:hilog_ndk", 867 "napi:ace_napi", 868 ] 869 870 output_extension = "so" 871} 872ohos_shared_library("statvfsndk") { 873 testonly = true 874 subsystem_name = "thirdparty" 875 part_name = "musl" 876 sources = [ "./statvfsndk.cpp" ] 877 libs = [ rebase_path(libcxx_ndk_shared_file) ] 878 879 include_dirs = [ "../cpp" ] 880 configs = [ ":config" ] 881 882 external_deps = [ "napi:ace_napi" ] 883 884 output_extension = "so" 885} 886ohos_shared_library("stdioextndk") { 887 testonly = true 888 subsystem_name = "thirdparty" 889 part_name = "musl" 890 sources = [ "./stdioextndk.cpp" ] 891 libs = [ rebase_path(libcxx_ndk_shared_file) ] 892 893 include_dirs = [ "../cpp" ] 894 configs = [ ":config" ] 895 896 external_deps = [ "napi:ace_napi" ] 897 898 output_extension = "so" 899} 900ohos_shared_library("stdioextndk1") { 901 testonly = true 902 subsystem_name = "thirdparty" 903 part_name = "musl" 904 sources = [ "./stdioextndk1.cpp" ] 905 libs = [ rebase_path(libcxx_ndk_shared_file) ] 906 907 include_dirs = [ "../cpp" ] 908 configs = [ ":config" ] 909 910 external_deps = [ "napi:ace_napi" ] 911 912 output_extension = "so" 913} 914ohos_shared_library("stroptsndk") { 915 testonly = true 916 subsystem_name = "thirdparty" 917 part_name = "musl" 918 sources = [ "./stroptsndk.cpp" ] 919 libs = [ rebase_path(libcxx_ndk_shared_file) ] 920 921 include_dirs = [ "../cpp" ] 922 configs = [ ":config" ] 923 924 external_deps = [ "napi:ace_napi" ] 925 926 output_extension = "so" 927} 928ohos_shared_library("sysinfondk") { 929 testonly = true 930 subsystem_name = "thirdparty" 931 part_name = "musl" 932 sources = [ "./sysinfondk.cpp" ] 933 libs = [ rebase_path(libcxx_ndk_shared_file) ] 934 935 include_dirs = [ "../cpp" ] 936 configs = [ ":config" ] 937 938 external_deps = [ "napi:ace_napi" ] 939 940 output_extension = "so" 941} 942ohos_shared_library("syslogndk") { 943 testonly = true 944 subsystem_name = "thirdparty" 945 part_name = "musl" 946 sources = [ "./syslogndk.cpp" ] 947 libs = [ rebase_path(libcxx_ndk_shared_file) ] 948 949 include_dirs = [ "../cpp" ] 950 configs = [ ":config" ] 951 952 external_deps = [ "napi:ace_napi" ] 953 954 output_extension = "so" 955} 956ohos_shared_library("sysmmanndk") { 957 testonly = true 958 subsystem_name = "thirdparty" 959 part_name = "musl" 960 sources = [ "./sysmmanndk.cpp" ] 961 libs = [ rebase_path(libcxx_ndk_shared_file) ] 962 963 include_dirs = [ "../cpp" ] 964 configs = [ ":config" ] 965 966 external_deps = [ "napi:ace_napi" ] 967 968 output_extension = "so" 969} 970ohos_shared_library("termiosndk") { 971 testonly = true 972 subsystem_name = "thirdparty" 973 part_name = "musl" 974 sources = [ "./termiosndk.cpp" ] 975 libs = [ rebase_path(libcxx_ndk_shared_file) ] 976 977 include_dirs = [ "../cpp" ] 978 configs = [ ":config" ] 979 980 external_deps = [ "napi:ace_napi" ] 981 982 output_extension = "so" 983} 984ohos_shared_library("termiosndk1") { 985 testonly = true 986 subsystem_name = "thirdparty" 987 part_name = "musl" 988 sources = [ "./termiosndk1.cpp" ] 989 libs = [ rebase_path(libcxx_ndk_shared_file) ] 990 991 include_dirs = [ "../cpp" ] 992 configs = [ ":config" ] 993 994 external_deps = [ "napi:ace_napi" ] 995 996 output_extension = "so" 997} 998ohos_shared_library("tgkillndk") { 999 testonly = true 1000 subsystem_name = "thirdparty" 1001 part_name = "musl" 1002 sources = [ "./tgkillndk.cpp" ] 1003 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1004 1005 include_dirs = [ "../cpp" ] 1006 configs = [ ":config" ] 1007 1008 external_deps = [ "napi:ace_napi" ] 1009 1010 output_extension = "so" 1011} 1012ohos_shared_library("threadsndk") { 1013 testonly = true 1014 subsystem_name = "thirdparty" 1015 part_name = "musl" 1016 sources = [ "./threadsndk.cpp" ] 1017 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1018 1019 include_dirs = [ "../cpp" ] 1020 configs = [ ":config" ] 1021 1022 external_deps = [ "napi:ace_napi" ] 1023 1024 output_extension = "so" 1025} 1026ohos_shared_library("threadsndk1") { 1027 testonly = true 1028 subsystem_name = "thirdparty" 1029 part_name = "musl" 1030 sources = [ "./threadsndk1.cpp" ] 1031 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1032 1033 include_dirs = [ "../cpp" ] 1034 configs = [ ":config" ] 1035 1036 external_deps = [ "napi:ace_napi" ] 1037 1038 output_extension = "so" 1039} 1040ohos_shared_library("timerfdndk") { 1041 testonly = true 1042 subsystem_name = "thirdparty" 1043 part_name = "musl" 1044 sources = [ "./timerfdndk.cpp" ] 1045 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1046 1047 include_dirs = [ "../cpp" ] 1048 configs = [ ":config" ] 1049 1050 external_deps = [ "napi:ace_napi" ] 1051 1052 output_extension = "so" 1053} 1054ohos_shared_library("timesndk") { 1055 testonly = true 1056 subsystem_name = "thirdparty" 1057 part_name = "musl" 1058 sources = [ "./timesndk.cpp" ] 1059 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1060 1061 include_dirs = [ "../cpp" ] 1062 configs = [ ":config" ] 1063 1064 external_deps = [ "napi:ace_napi" ] 1065 1066 output_extension = "so" 1067} 1068 1069ohos_shared_library("ucharndk") { 1070 testonly = true 1071 subsystem_name = "thirdparty" 1072 part_name = "musl" 1073 sources = [ "./ucharndk.cpp" ] 1074 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1075 1076 include_dirs = [ "../cpp" ] 1077 configs = [ ":config" ] 1078 1079 external_deps = [ "napi:ace_napi" ] 1080 1081 output_extension = "so" 1082} 1083ohos_shared_library("uiondk") { 1084 testonly = true 1085 subsystem_name = "thirdparty" 1086 part_name = "musl" 1087 sources = [ "./uiondk.cpp" ] 1088 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1089 1090 include_dirs = [ "../cpp" ] 1091 configs = [ ":config" ] 1092 1093 external_deps = [ "napi:ace_napi" ] 1094 1095 output_extension = "so" 1096} 1097ohos_shared_library("utimendk") { 1098 testonly = true 1099 subsystem_name = "thirdparty" 1100 part_name = "musl" 1101 sources = [ "./utimendk.cpp" ] 1102 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1103 1104 include_dirs = [ "../cpp" ] 1105 configs = [ ":config" ] 1106 1107 external_deps = [ "napi:ace_napi" ] 1108 1109 output_extension = "so" 1110} 1111ohos_shared_library("utmpndk") { 1112 testonly = true 1113 subsystem_name = "thirdparty" 1114 part_name = "musl" 1115 sources = [ "./utmpndk.cpp" ] 1116 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1117 1118 include_dirs = [ "../cpp" ] 1119 configs = [ ":config" ] 1120 1121 external_deps = [ "napi:ace_napi" ] 1122 1123 output_extension = "so" 1124} 1125ohos_shared_library("utsnamendk") { 1126 testonly = true 1127 subsystem_name = "thirdparty" 1128 part_name = "musl" 1129 sources = [ "./utsnamendk.cpp" ] 1130 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1131 1132 include_dirs = [ "../cpp" ] 1133 configs = [ ":config" ] 1134 1135 external_deps = [ "napi:ace_napi" ] 1136 1137 output_extension = "so" 1138} 1139ohos_shared_library("xattrndk") { 1140 testonly = true 1141 subsystem_name = "thirdparty" 1142 part_name = "musl" 1143 sources = [ "./xattrndk.cpp" ] 1144 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1145 1146 include_dirs = [ "../cpp" ] 1147 configs = [ ":config" ] 1148 1149 external_deps = [ "napi:ace_napi" ] 1150 1151 output_extension = "so" 1152} 1153ohos_shared_library("grpndk") { 1154 testonly = true 1155 subsystem_name = "thirdparty" 1156 part_name = "musl" 1157 sources = [ "./grpndk.cpp" ] 1158 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1159 1160 include_dirs = [ "../cpp" ] 1161 configs = [ ":config" ] 1162 1163 external_deps = [ "napi:ace_napi" ] 1164 1165 output_extension = "so" 1166} 1167ohos_shared_library("ifaddrsndk") { 1168 testonly = true 1169 subsystem_name = "thirdparty" 1170 part_name = "musl" 1171 sources = [ "./ifaddrsndk.cpp" ] 1172 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1173 1174 include_dirs = [ "../cpp" ] 1175 configs = [ ":config" ] 1176 1177 external_deps = [ "napi:ace_napi" ] 1178 1179 output_extension = "so" 1180} 1181ohos_shared_library("ifaddrsndk1") { 1182 testonly = true 1183 subsystem_name = "thirdparty" 1184 part_name = "musl" 1185 sources = [ "./ifaddrsndk1.cpp" ] 1186 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1187 1188 include_dirs = [ "../cpp" ] 1189 configs = [ ":config" ] 1190 1191 external_deps = [ "napi:ace_napi" ] 1192 1193 output_extension = "so" 1194} 1195ohos_shared_library("inetndk") { 1196 testonly = true 1197 subsystem_name = "thirdparty" 1198 part_name = "musl" 1199 sources = [ "./inetndk.cpp" ] 1200 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1201 1202 include_dirs = [ "../cpp" ] 1203 configs = [ ":config" ] 1204 1205 external_deps = [ "napi:ace_napi" ] 1206 1207 output_extension = "so" 1208} 1209ohos_shared_library("inotifyndk") { 1210 testonly = true 1211 subsystem_name = "thirdparty" 1212 part_name = "musl" 1213 sources = [ "./inotifyndk.cpp" ] 1214 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1215 1216 include_dirs = [ "../cpp" ] 1217 configs = [ ":config" ] 1218 1219 external_deps = [ "napi:ace_napi" ] 1220 1221 output_extension = "so" 1222} 1223ohos_shared_library("inttypesndk") { 1224 testonly = true 1225 subsystem_name = "thirdparty" 1226 part_name = "musl" 1227 sources = [ "./inttypesndk.cpp" ] 1228 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1229 1230 include_dirs = [ "../cpp" ] 1231 configs = [ ":config" ] 1232 1233 external_deps = [ "napi:ace_napi" ] 1234 1235 output_extension = "so" 1236} 1237ohos_shared_library("mathndk") { 1238 testonly = true 1239 subsystem_name = "thirdparty" 1240 part_name = "musl" 1241 sources = [ "./mathndk.cpp" ] 1242 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1243 1244 include_dirs = [ "../cpp" ] 1245 configs = [ ":config" ] 1246 1247 external_deps = [ "napi:ace_napi" ] 1248 1249 output_extension = "so" 1250} 1251ohos_shared_library("netdbndk") { 1252 testonly = true 1253 subsystem_name = "thirdparty" 1254 part_name = "musl" 1255 sources = [ "./netdbndk.cpp" ] 1256 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1257 1258 include_dirs = [ "../cpp" ] 1259 configs = [ ":config" ] 1260 1261 external_deps = [ "napi:ace_napi" ] 1262 1263 output_extension = "so" 1264} 1265ohos_shared_library("pthreadndk") { 1266 testonly = true 1267 subsystem_name = "thirdparty" 1268 part_name = "musl" 1269 sources = [ "./pthreadndk.cpp" ] 1270 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1271 1272 include_dirs = [ "../cpp" ] 1273 configs = [ ":config" ] 1274 1275 external_deps = [ "napi:ace_napi" ] 1276 1277 output_extension = "so" 1278} 1279ohos_shared_library("pthreadndk1") { 1280 testonly = true 1281 subsystem_name = "thirdparty" 1282 part_name = "musl" 1283 sources = [ "./pthreadndk1.cpp" ] 1284 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1285 1286 include_dirs = [ "../cpp" ] 1287 configs = [ ":config" ] 1288 1289 external_deps = [ "napi:ace_napi" ] 1290 1291 output_extension = "so" 1292} 1293ohos_shared_library("regexndk") { 1294 testonly = true 1295 subsystem_name = "thirdparty" 1296 part_name = "musl" 1297 sources = [ "./regexndk.cpp" ] 1298 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1299 1300 include_dirs = [ "../cpp" ] 1301 configs = [ ":config" ] 1302 1303 external_deps = [ "napi:ace_napi" ] 1304 1305 output_extension = "so" 1306} 1307ohos_shared_library("resourcendk") { 1308 testonly = true 1309 subsystem_name = "thirdparty" 1310 part_name = "musl" 1311 sources = [ "./resourcendk.cpp" ] 1312 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1313 1314 include_dirs = [ "../cpp" ] 1315 configs = [ ":config" ] 1316 1317 external_deps = [ "napi:ace_napi" ] 1318 1319 output_extension = "so" 1320} 1321ohos_shared_library("resourcendk1") { 1322 testonly = true 1323 subsystem_name = "thirdparty" 1324 part_name = "musl" 1325 sources = [ "./resourcendk1.cpp" ] 1326 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1327 1328 include_dirs = [ "../cpp" ] 1329 configs = [ ":config" ] 1330 1331 external_deps = [ "napi:ace_napi" ] 1332 1333 output_extension = "so" 1334} 1335ohos_shared_library("schedndk") { 1336 testonly = true 1337 subsystem_name = "thirdparty" 1338 part_name = "musl" 1339 sources = [ "./schedndk.cpp" ] 1340 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1341 1342 include_dirs = [ "../cpp" ] 1343 configs = [ ":config" ] 1344 1345 external_deps = [ "napi:ace_napi" ] 1346 1347 output_extension = "so" 1348} 1349ohos_shared_library("semaphorendk") { 1350 testonly = true 1351 subsystem_name = "thirdparty" 1352 part_name = "musl" 1353 sources = [ "./semaphorendk.cpp" ] 1354 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1355 1356 include_dirs = [ "../cpp" ] 1357 configs = [ ":config" ] 1358 1359 external_deps = [ "napi:ace_napi" ] 1360 1361 output_extension = "so" 1362} 1363ohos_shared_library("semaphorendk1") { 1364 testonly = true 1365 subsystem_name = "thirdparty" 1366 part_name = "musl" 1367 sources = [ "./semaphorendk1.cpp" ] 1368 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1369 1370 include_dirs = [ "../cpp" ] 1371 configs = [ ":config" ] 1372 1373 external_deps = [ "napi:ace_napi" ] 1374 1375 output_extension = "so" 1376} 1377ohos_shared_library("setjmpndk") { 1378 testonly = true 1379 subsystem_name = "thirdparty" 1380 part_name = "musl" 1381 sources = [ "./setjmpndk.cpp" ] 1382 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1383 1384 include_dirs = [ "../cpp" ] 1385 configs = [ ":config" ] 1386 1387 external_deps = [ "napi:ace_napi" ] 1388 1389 output_extension = "so" 1390} 1391ohos_shared_library("setjmpndk1") { 1392 testonly = true 1393 subsystem_name = "thirdparty" 1394 part_name = "musl" 1395 sources = [ "./setjmpndk1.cpp" ] 1396 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1397 1398 include_dirs = [ "../cpp" ] 1399 configs = [ ":config" ] 1400 1401 external_deps = [ "napi:ace_napi" ] 1402 1403 output_extension = "so" 1404} 1405ohos_shared_library("signalndk") { 1406 testonly = true 1407 subsystem_name = "thirdparty" 1408 part_name = "musl" 1409 sources = [ "./signalndk.cpp" ] 1410 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1411 1412 include_dirs = [ "../cpp" ] 1413 configs = [ ":config" ] 1414 1415 external_deps = [ "napi:ace_napi" ] 1416 1417 output_extension = "so" 1418} 1419ohos_shared_library("stdiondk") { 1420 testonly = true 1421 subsystem_name = "thirdparty" 1422 part_name = "musl" 1423 sources = [ "./stdiondk.cpp" ] 1424 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1425 1426 include_dirs = [ "../cpp" ] 1427 configs = [ ":config" ] 1428 1429 external_deps = [ "napi:ace_napi" ] 1430 1431 output_extension = "so" 1432} 1433ohos_shared_library("stdiondk1") { 1434 testonly = true 1435 subsystem_name = "thirdparty" 1436 part_name = "musl" 1437 sources = [ "./stdiondk1.cpp" ] 1438 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1439 1440 include_dirs = [ "../cpp" ] 1441 configs = [ ":config" ] 1442 1443 external_deps = [ "napi:ace_napi" ] 1444 1445 output_extension = "so" 1446} 1447ohos_shared_library("stdlibndk") { 1448 testonly = true 1449 subsystem_name = "thirdparty" 1450 part_name = "musl" 1451 sources = [ "./stdlibndk.cpp" ] 1452 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1453 1454 include_dirs = [ "../cpp" ] 1455 configs = [ ":config" ] 1456 1457 external_deps = [ "napi:ace_napi" ] 1458 1459 output_extension = "so" 1460} 1461ohos_shared_library("stringndk") { 1462 testonly = true 1463 subsystem_name = "thirdparty" 1464 part_name = "musl" 1465 sources = [ "./stringndk.cpp" ] 1466 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1467 1468 include_dirs = [ "../cpp" ] 1469 configs = [ ":config" ] 1470 1471 external_deps = [ "napi:ace_napi" ] 1472 1473 output_extension = "so" 1474} 1475ohos_shared_library("stringsndk") { 1476 testonly = true 1477 subsystem_name = "thirdparty" 1478 part_name = "musl" 1479 sources = [ "./stringsndk.cpp" ] 1480 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1481 1482 include_dirs = [ "../cpp" ] 1483 configs = [ ":config" ] 1484 1485 external_deps = [ "napi:ace_napi" ] 1486 1487 output_extension = "so" 1488} 1489ohos_shared_library("timendk") { 1490 testonly = true 1491 subsystem_name = "thirdparty" 1492 part_name = "musl" 1493 sources = [ "./timendk.cpp" ] 1494 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1495 1496 include_dirs = [ "../cpp" ] 1497 configs = [ ":config" ] 1498 1499 external_deps = [ "napi:ace_napi" ] 1500 1501 output_extension = "so" 1502} 1503ohos_shared_library("timendk1") { 1504 testonly = true 1505 subsystem_name = "thirdparty" 1506 part_name = "musl" 1507 sources = [ "./timendk1.cpp" ] 1508 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1509 1510 include_dirs = [ "../cpp" ] 1511 configs = [ ":config" ] 1512 1513 external_deps = [ "napi:ace_napi" ] 1514 1515 output_extension = "so" 1516} 1517ohos_shared_library("unistdndk") { 1518 testonly = true 1519 subsystem_name = "thirdparty" 1520 part_name = "musl" 1521 sources = [ "./unistdndk.cpp" ] 1522 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1523 1524 include_dirs = [ "../cpp" ] 1525 configs = [ ":config" ] 1526 1527 external_deps = [ "napi:ace_napi" ] 1528 1529 output_extension = "so" 1530} 1531ohos_shared_library("unistdndk1") { 1532 testonly = true 1533 subsystem_name = "thirdparty" 1534 part_name = "musl" 1535 sources = [ "./unistdndk1.cpp" ] 1536 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1537 1538 include_dirs = [ "../cpp" ] 1539 configs = [ ":config" ] 1540 1541 external_deps = [ "napi:ace_napi" ] 1542 1543 output_extension = "so" 1544} 1545ohos_shared_library("wcharndk") { 1546 testonly = true 1547 subsystem_name = "thirdparty" 1548 part_name = "musl" 1549 sources = [ "./wcharndk.cpp" ] 1550 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1551 1552 include_dirs = [ "../cpp" ] 1553 configs = [ ":config" ] 1554 1555 external_deps = [ "napi:ace_napi" ] 1556 1557 output_extension = "so" 1558} 1559ohos_shared_library("wcharndk1") { 1560 testonly = true 1561 subsystem_name = "thirdparty" 1562 part_name = "musl" 1563 sources = [ "./wcharndk1.cpp" ] 1564 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1565 1566 include_dirs = [ "../cpp" ] 1567 configs = [ ":config" ] 1568 1569 external_deps = [ "napi:ace_napi" ] 1570 1571 output_extension = "so" 1572} 1573ohos_shared_library("wctypendk") { 1574 testonly = true 1575 subsystem_name = "thirdparty" 1576 part_name = "musl" 1577 sources = [ "./wctypendk.cpp" ] 1578 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1579 1580 include_dirs = [ "../cpp" ] 1581 configs = [ ":config" ] 1582 1583 external_deps = [ "napi:ace_napi" ] 1584 1585 output_extension = "so" 1586} 1587ohos_shared_library("swapndk") { 1588 testonly = true 1589 subsystem_name = "thirdparty" 1590 part_name = "musl" 1591 sources = [ "./swapndk.cpp" ] 1592 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1593 1594 include_dirs = [ "../cpp" ] 1595 configs = [ ":config" ] 1596 1597 external_deps = [ "napi:ace_napi" ] 1598 1599 output_extension = "so" 1600} 1601ohos_shared_library("dlfcnndk") { 1602 testonly = true 1603 subsystem_name = "thirdparty" 1604 part_name = "musl" 1605 sources = [ "./dlfcnndk.cpp" ] 1606 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1607 1608 include_dirs = [ "../cpp" ] 1609 configs = [ ":config" ] 1610 1611 external_deps = [ "napi:ace_napi" ] 1612 1613 output_extension = "so" 1614} 1615ohos_shared_library("waitndk") { 1616 testonly = true 1617 subsystem_name = "thirdparty" 1618 part_name = "musl" 1619 sources = [ "./waitndk.cpp" ] 1620 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1621 1622 include_dirs = [ "../cpp" ] 1623 configs = [ ":config" ] 1624 1625 external_deps = [ "napi:ace_napi" ] 1626 1627 output_extension = "so" 1628} 1629ohos_shared_library("linkndk") { 1630 testonly = true 1631 subsystem_name = "thirdparty" 1632 part_name = "musl" 1633 sources = [ "./linkndk.cpp" ] 1634 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1635 1636 include_dirs = [ "../cpp" ] 1637 configs = [ ":config" ] 1638 1639 external_deps = [ "napi:ace_napi" ] 1640 1641 output_extension = "so" 1642} 1643 1644ohos_shared_library("auxv1ndk") { 1645 testonly = true 1646 subsystem_name = "thirdparty" 1647 part_name = "musl" 1648 sources = [ "./auxv1ndk.cpp" ] 1649 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1650 1651 include_dirs = [ "../cpp" ] 1652 configs = [ ":config" ] 1653 1654 external_deps = [ "napi:ace_napi" ] 1655 1656 output_extension = "so" 1657} 1658ohos_shared_library("capability1ndk") { 1659 testonly = true 1660 subsystem_name = "thirdparty" 1661 part_name = "musl" 1662 sources = [ "./capability1ndk.cpp" ] 1663 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1664 1665 include_dirs = [ "../cpp" ] 1666 configs = [ ":config" ] 1667 1668 external_deps = [ "napi:ace_napi" ] 1669 1670 output_extension = "so" 1671} 1672ohos_shared_library("dirent1ndk") { 1673 testonly = true 1674 subsystem_name = "thirdparty" 1675 part_name = "musl" 1676 sources = [ "./dirent1ndk.cpp" ] 1677 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1678 1679 include_dirs = [ "../cpp" ] 1680 configs = [ ":config" ] 1681 1682 external_deps = [ "napi:ace_napi" ] 1683 1684 output_extension = "so" 1685} 1686ohos_shared_library("fcntl1ndk") { 1687 testonly = true 1688 subsystem_name = "thirdparty" 1689 part_name = "musl" 1690 sources = [ "./fcntl1ndk.cpp" ] 1691 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1692 1693 include_dirs = [ "../cpp" ] 1694 configs = [ ":config" ] 1695 1696 external_deps = [ "napi:ace_napi" ] 1697 1698 output_extension = "so" 1699} 1700ohos_shared_library("ftw1ndk") { 1701 testonly = true 1702 subsystem_name = "thirdparty" 1703 part_name = "musl" 1704 sources = [ "./ftw1ndk.cpp" ] 1705 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1706 1707 include_dirs = [ "../cpp" ] 1708 configs = [ ":config" ] 1709 1710 external_deps = [ "napi:ace_napi" ] 1711 1712 output_extension = "so" 1713} 1714ohos_shared_library("getopt1ndk") { 1715 testonly = true 1716 subsystem_name = "thirdparty" 1717 part_name = "musl" 1718 sources = [ "./getopt1ndk.cpp" ] 1719 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1720 1721 include_dirs = [ "../cpp" ] 1722 configs = [ ":config" ] 1723 1724 external_deps = [ "napi:ace_napi" ] 1725 1726 output_extension = "so" 1727} 1728ohos_shared_library("glob1ndk") { 1729 testonly = true 1730 subsystem_name = "thirdparty" 1731 part_name = "musl" 1732 sources = [ "./glob1ndk.cpp" ] 1733 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1734 1735 include_dirs = [ "../cpp" ] 1736 configs = [ ":config" ] 1737 1738 external_deps = [ "napi:ace_napi" ] 1739 1740 output_extension = "so" 1741} 1742ohos_shared_library("grp1ndk") { 1743 testonly = true 1744 subsystem_name = "thirdparty" 1745 part_name = "musl" 1746 sources = [ "./grp1ndk.cpp" ] 1747 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1748 1749 include_dirs = [ "../cpp" ] 1750 configs = [ ":config" ] 1751 1752 external_deps = [ "napi:ace_napi" ] 1753 1754 output_extension = "so" 1755} 1756ohos_shared_library("inotify1ndk") { 1757 testonly = true 1758 subsystem_name = "thirdparty" 1759 part_name = "musl" 1760 sources = [ "./inotify1ndk.cpp" ] 1761 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1762 1763 include_dirs = [ "../cpp" ] 1764 configs = [ ":config" ] 1765 1766 external_deps = [ "napi:ace_napi" ] 1767 1768 output_extension = "so" 1769} 1770ohos_shared_library("locale1ndk") { 1771 testonly = true 1772 subsystem_name = "thirdparty" 1773 part_name = "musl" 1774 sources = [ "./locale1ndk.cpp" ] 1775 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1776 1777 include_dirs = [ "../cpp" ] 1778 configs = [ ":config" ] 1779 1780 external_deps = [ "napi:ace_napi" ] 1781 1782 output_extension = "so" 1783} 1784ohos_shared_library("malloc1ndk") { 1785 testonly = true 1786 subsystem_name = "thirdparty" 1787 part_name = "musl" 1788 sources = [ "./malloc1ndk.cpp" ] 1789 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1790 1791 include_dirs = [ "../cpp" ] 1792 configs = [ ":config" ] 1793 1794 external_deps = [ "napi:ace_napi" ] 1795 1796 output_extension = "so" 1797} 1798ohos_shared_library("stat1ndk") { 1799 testonly = true 1800 subsystem_name = "thirdparty" 1801 part_name = "musl" 1802 sources = [ "./stat1ndk.cpp" ] 1803 libs = [ rebase_path(libcxx_ndk_shared_file) ] 1804 1805 include_dirs = [ "../cpp" ] 1806 configs = [ ":config" ] 1807 1808 external_deps = [ "napi:ace_napi" ] 1809 1810 output_extension = "so" 1811} 1812