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("//arkcompiler/ets_runtime/js_runtime_config.gni") 15import("//arkcompiler/ets_runtime/test/test_helper.gni") 16 17module_output_path = "arkcompiler/ets_runtime" 18 19host_unittest_action("EcmaVm_001_Test") { 20 module_out_path = module_output_path 21 22 sources = [ 23 # test file 24 "accessor_data_test.cpp", 25 "assert_scope_test.cpp", 26 "builtins_test.cpp", 27 "byte_array_test.cpp", 28 "concurrent_marking_test.cpp", 29 ] 30 31 configs = [ 32 "../../:asm_interp_enable_config", 33 "../../:ecma_test_config", 34 "$ark_root/assembler:arkassembler_public_config", 35 "$ark_root/libpandafile:arkfile_public_config", 36 ] 37 38 deps = [ 39 "$ark_third_party_root/icu/icu4c:shared_icui18n", 40 "$ark_third_party_root/icu/icu4c:shared_icuuc", 41 "../../:libark_jsruntime_test", 42 sdk_libc_secshared_dep, 43 ] 44 45 # hiviewdfx libraries 46 external_deps = hiviewdfx_ext_deps 47 external_deps += [ "zlib:libz" ] 48 deps += hiviewdfx_deps 49} 50 51host_unittest_action("EcmaVm_002_Test") { 52 module_out_path = module_output_path 53 54 sources = [ 55 # test file 56 "concurrent_sweep_test.cpp", 57 "constant_string_test.cpp", 58 "dump_test.cpp", 59 60 # "ecma_string_test.cpp", 61 "ecma_context_test.cpp", 62 "ecma_string_accessor_test.cpp", 63 "ecma_string_equals_test.cpp", 64 ] 65 66 configs = [ 67 "../../:asm_interp_enable_config", 68 "../../:ecma_test_config", 69 "$ark_root/assembler:arkassembler_public_config", 70 "$ark_root/libpandafile:arkfile_public_config", 71 ] 72 73 deps = [ 74 "$ark_third_party_root/icu/icu4c:shared_icui18n", 75 "$ark_third_party_root/icu/icu4c:shared_icuuc", 76 "../../:libark_jsruntime_test", 77 sdk_libc_secshared_dep, 78 ] 79 80 # hiviewdfx libraries 81 external_deps = hiviewdfx_ext_deps 82 external_deps += [ "zlib:libz" ] 83 deps += hiviewdfx_deps 84} 85 86host_unittest_action("EcmaVm_003_Test") { 87 module_out_path = module_output_path 88 89 sources = [ 90 # test file 91 "ecma_string_table_test.cpp", 92 ] 93 94 configs = [ 95 "../../:asm_interp_enable_config", 96 "../../:ecma_test_config", 97 "$ark_root/assembler:arkassembler_public_config", 98 "$ark_root/libpandafile:arkfile_public_config", 99 ] 100 101 deps = [ 102 "$ark_third_party_root/icu/icu4c:shared_icui18n", 103 "$ark_third_party_root/icu/icu4c:shared_icuuc", 104 "../../:libark_jsruntime_test", 105 sdk_libc_secshared_dep, 106 ] 107 108 # hiviewdfx libraries 109 external_deps = hiviewdfx_ext_deps 110 deps += hiviewdfx_deps 111} 112 113host_unittest_action("EcmaVm_004_Test") { 114 module_out_path = module_output_path 115 116 sources = [ 117 # test file 118 "global_index_map_test.cpp", 119 "glue_regs_test.cpp", 120 "handle_leak_test.cpp", 121 "huge_object_test.cpp", 122 "incremental_marking_test.cpp", 123 ] 124 125 configs = [ 126 "../../:asm_interp_enable_config", 127 "../../:ecma_test_config", 128 "$ark_root/assembler:arkassembler_public_config", 129 "$ark_root/libpandafile:arkfile_public_config", 130 ] 131 132 deps = [ 133 "$ark_third_party_root/icu/icu4c:shared_icui18n", 134 "$ark_third_party_root/icu/icu4c:shared_icuuc", 135 "../../:libark_jsruntime_test", 136 sdk_libc_secshared_dep, 137 ] 138 139 # hiviewdfx libraries 140 external_deps = hiviewdfx_ext_deps 141 external_deps += [ "zlib:libz" ] 142 deps += hiviewdfx_deps 143} 144 145host_unittest_action("EcmaVm_005_Test") { 146 module_out_path = module_output_path 147 148 sources = [ 149 # test file 150 "js_api_arraylist_iterator_test.cpp", 151 "js_api_arraylist_test.cpp", 152 "js_api_deque_iterator_test.cpp", 153 "js_api_deque_test.cpp", 154 "js_api_hashmap_iterator_test.cpp", 155 ] 156 157 configs = [ 158 "../../:asm_interp_enable_config", 159 "../../:ecma_test_config", 160 "$ark_root/assembler:arkassembler_public_config", 161 "$ark_root/libpandafile:arkfile_public_config", 162 ] 163 164 deps = [ 165 "$ark_third_party_root/icu/icu4c:shared_icui18n", 166 "$ark_third_party_root/icu/icu4c:shared_icuuc", 167 "../../:libark_jsruntime_test", 168 sdk_libc_secshared_dep, 169 ] 170 171 # hiviewdfx libraries 172 external_deps = hiviewdfx_ext_deps 173 deps += hiviewdfx_deps 174} 175 176host_unittest_action("EcmaVm_006_Test") { 177 module_out_path = module_output_path 178 179 sources = [ 180 # test file 181 "js_api_hashmap_test.cpp", 182 "js_api_hashset_iterator_test.cpp", 183 "js_api_hashset_test.cpp", 184 "js_api_lightweightmap_iterator_test.cpp", 185 "js_api_lightweightmap_test.cpp", 186 ] 187 188 configs = [ 189 "../../:asm_interp_enable_config", 190 "../../:ecma_test_config", 191 "$ark_root/assembler:arkassembler_public_config", 192 "$ark_root/libpandafile:arkfile_public_config", 193 ] 194 195 deps = [ 196 "$ark_third_party_root/icu/icu4c:shared_icui18n", 197 "$ark_third_party_root/icu/icu4c:shared_icuuc", 198 "../../:libark_jsruntime_test", 199 sdk_libc_secshared_dep, 200 ] 201 202 # hiviewdfx libraries 203 external_deps = hiviewdfx_ext_deps 204 deps += hiviewdfx_deps 205} 206 207host_unittest_action("EcmaVm_007_Test") { 208 module_out_path = module_output_path 209 210 sources = [ 211 # test file 212 "js_api_lightweightset_iterator_test.cpp", 213 "js_api_lightweightset_test.cpp", 214 "js_api_linked_list_iterator_test.cpp", 215 "js_api_linked_list_test.cpp", 216 "js_api_list_iterator_test.cpp", 217 ] 218 219 configs = [ 220 "../../:asm_interp_enable_config", 221 "../../:ecma_test_config", 222 "$ark_root/assembler:arkassembler_public_config", 223 "$ark_root/libpandafile:arkfile_public_config", 224 ] 225 226 deps = [ 227 "$ark_third_party_root/icu/icu4c:shared_icui18n", 228 "$ark_third_party_root/icu/icu4c:shared_icuuc", 229 "../../:libark_jsruntime_test", 230 sdk_libc_secshared_dep, 231 ] 232 233 # hiviewdfx libraries 234 external_deps = hiviewdfx_ext_deps 235 deps += hiviewdfx_deps 236} 237 238host_unittest_action("EcmaVm_008_Test") { 239 module_out_path = module_output_path 240 241 sources = [ 242 # test file 243 "js_api_list_test.cpp", 244 "js_api_plain_array_iterator_test.cpp", 245 "js_api_plain_array_test.cpp", 246 "js_api_queue_iterator_test.cpp", 247 "js_api_queue_test.cpp", 248 ] 249 250 configs = [ 251 "../../:asm_interp_enable_config", 252 "../../:ecma_test_config", 253 "$ark_root/assembler:arkassembler_public_config", 254 "$ark_root/libpandafile:arkfile_public_config", 255 ] 256 257 deps = [ 258 "$ark_third_party_root/icu/icu4c:shared_icui18n", 259 "$ark_third_party_root/icu/icu4c:shared_icuuc", 260 "../../:libark_jsruntime_test", 261 sdk_libc_secshared_dep, 262 ] 263 264 # hiviewdfx libraries 265 external_deps = hiviewdfx_ext_deps 266 deps += hiviewdfx_deps 267} 268 269host_unittest_action("EcmaVm_009_Test") { 270 module_out_path = module_output_path 271 272 sources = [ 273 # test file 274 "js_api_stack_iterator_test.cpp", 275 "js_api_stack_test.cpp", 276 "js_api_tree_map_iterator_test.cpp", 277 "js_api_tree_map_test.cpp", 278 "js_api_tree_set_iterator_test.cpp", 279 ] 280 281 configs = [ 282 "../../:asm_interp_enable_config", 283 "../../:ecma_test_config", 284 "$ark_root/assembler:arkassembler_public_config", 285 "$ark_root/libpandafile:arkfile_public_config", 286 ] 287 288 deps = [ 289 "$ark_third_party_root/icu/icu4c:shared_icui18n", 290 "$ark_third_party_root/icu/icu4c:shared_icuuc", 291 "../../:libark_jsruntime_test", 292 sdk_libc_secshared_dep, 293 ] 294 295 # hiviewdfx libraries 296 external_deps = hiviewdfx_ext_deps 297 deps += hiviewdfx_deps 298} 299 300host_unittest_action("EcmaVm_010_Test") { 301 module_out_path = module_output_path 302 303 sources = [ 304 # test file 305 "js_api_tree_set_test.cpp", 306 "js_api_vector_iterator_test.cpp", 307 "js_api_vector_test.cpp", 308 "js_arguments_test.cpp", 309 "js_array_buffer_test.cpp", 310 "js_sendable_arraybuffer_test.cpp", 311 "js_shared_array_test.cpp", 312 ] 313 314 configs = [ 315 "../../:asm_interp_enable_config", 316 "../../:ecma_test_config", 317 "$ark_root/assembler:arkassembler_public_config", 318 "$ark_root/libpandafile:arkfile_public_config", 319 ] 320 321 deps = [ 322 "$ark_third_party_root/icu/icu4c:shared_icui18n", 323 "$ark_third_party_root/icu/icu4c:shared_icuuc", 324 "../../:libark_jsruntime_test", 325 sdk_libc_secshared_dep, 326 ] 327 328 # hiviewdfx libraries 329 external_deps = hiviewdfx_ext_deps 330 deps += hiviewdfx_deps 331} 332 333host_unittest_action("EcmaVm_011_Test") { 334 module_out_path = module_output_path 335 336 sources = [ 337 # test file 338 "js_array_iterator_test.cpp", 339 "js_array_test.cpp", 340 "js_async_function_test.cpp", 341 "js_bigint_test.cpp", 342 343 # this UT need restore when oom dump is formally launched 344 # "throw_oom_error_test.cpp", 345 ] 346 347 configs = [ 348 "../../:asm_interp_enable_config", 349 "../../:ecma_test_config", 350 "$ark_root/assembler:arkassembler_public_config", 351 "$ark_root/libpandafile:arkfile_public_config", 352 ] 353 354 deps = [ 355 "$ark_third_party_root/icu/icu4c:shared_icui18n", 356 "$ark_third_party_root/icu/icu4c:shared_icuuc", 357 "../../:libark_jsruntime_test", 358 sdk_libc_secshared_dep, 359 ] 360 361 # hiviewdfx libraries 362 external_deps = hiviewdfx_ext_deps 363 external_deps += [ "zlib:libz" ] 364 deps += hiviewdfx_deps 365} 366 367host_unittest_action("EcmaVm_012_Test") { 368 module_out_path = module_output_path 369 370 sources = [ 371 # test file 372 "js_async_generator_object_test.cpp", 373 ] 374 375 configs = [ 376 "../../:ecma_test_config", 377 "../../:icu_path_test_config", 378 ] 379 380 deps = [ 381 "$ark_third_party_root/icu/icu4c:shared_icui18n", 382 "$ark_third_party_root/icu/icu4c:shared_icuuc", 383 "../../:libark_jsruntime_test", 384 sdk_libc_secshared_dep, 385 ] 386 387 # hiviewdfx libraries 388 external_deps = hiviewdfx_ext_deps 389 external_deps += [ "zlib:libz" ] 390 deps += hiviewdfx_deps 391} 392 393host_unittest_action("EcmaVm_013_Test") { 394 module_out_path = module_output_path 395 396 sources = [ 397 # test file 398 "js_displaynames_test.cpp", 399 "js_finalization_registry_test.cpp", 400 "js_forin_iterator_test.cpp", 401 "js_function_test.cpp", 402 "js_generator_object_test.cpp", 403 ] 404 405 configs = [ 406 "../../:ecma_test_config", 407 "../../:icu_path_test_config", 408 ] 409 410 deps = [ 411 "$ark_third_party_root/icu/icu4c:shared_icui18n", 412 "$ark_third_party_root/icu/icu4c:shared_icuuc", 413 "../../:libark_jsruntime_test", 414 sdk_libc_secshared_dep, 415 ] 416 417 # hiviewdfx libraries 418 external_deps = hiviewdfx_ext_deps 419 external_deps += [ "zlib:libz" ] 420 deps += hiviewdfx_deps 421} 422 423host_unittest_action("EcmaVm_014_Test") { 424 module_out_path = module_output_path 425 426 sources = [ 427 # test file 428 "js_handle_test.cpp", 429 ] 430 431 configs = [ 432 "../../:ecma_test_config", 433 "../../:icu_path_test_config", 434 ] 435 436 deps = [ 437 "$ark_third_party_root/icu/icu4c:shared_icui18n", 438 "$ark_third_party_root/icu/icu4c:shared_icuuc", 439 "../../:libark_jsruntime_test", 440 sdk_libc_secshared_dep, 441 ] 442 443 # hiviewdfx libraries 444 external_deps = hiviewdfx_ext_deps 445 deps += hiviewdfx_deps 446} 447 448host_unittest_action("EcmaVm_015_Test") { 449 module_out_path = module_output_path 450 451 sources = [ 452 # test file 453 "js_map_iterator_test.cpp", 454 "js_map_test.cpp", 455 "js_number_format_test.cpp", 456 "js_object_test.cpp", 457 "js_plural_rules_test.cpp", 458 ] 459 460 configs = [ 461 "../../:ecma_test_config", 462 "../../:icu_path_test_config", 463 ] 464 465 deps = [ 466 "$ark_third_party_root/icu/icu4c:shared_icui18n", 467 "$ark_third_party_root/icu/icu4c:shared_icuuc", 468 "../../:libark_jsruntime_test", 469 sdk_libc_secshared_dep, 470 ] 471 472 # hiviewdfx libraries 473 external_deps = hiviewdfx_ext_deps 474 external_deps += [ "zlib:libz" ] 475 deps += hiviewdfx_deps 476} 477 478host_unittest_action("EcmaVm_016_Test") { 479 module_out_path = module_output_path 480 481 sources = [ 482 # test file 483 "js_primitive_ref_test.cpp", 484 "js_promise_test.cpp", 485 "js_proxy_test.cpp", 486 "js_regexp_iterator_test.cpp", 487 "js_relative_time_format_test.cpp", 488 ] 489 490 configs = [ 491 "../../:ecma_test_config", 492 "../../:icu_path_test_config", 493 ] 494 495 deps = [ 496 "$ark_third_party_root/icu/icu4c:shared_icui18n", 497 "$ark_third_party_root/icu/icu4c:shared_icuuc", 498 "../../:libark_jsruntime_test", 499 sdk_libc_secshared_dep, 500 ] 501 502 # hiviewdfx libraries 503 external_deps = hiviewdfx_ext_deps 504 deps += hiviewdfx_deps 505} 506 507host_unittest_action("EcmaVm_017_Test") { 508 module_out_path = module_output_path 509 510 sources = [ 511 # test file 512 "locale_helper_test.cpp", 513 ] 514 515 configs = [ 516 "../../:ecma_test_config", 517 "../../:icu_path_test_config", 518 ] 519 520 deps = [ 521 "$ark_third_party_root/icu/icu4c:shared_icui18n", 522 "$ark_third_party_root/icu/icu4c:shared_icuuc", 523 "../../:libark_jsruntime_test", 524 sdk_libc_secshared_dep, 525 ] 526 527 # hiviewdfx libraries 528 external_deps = hiviewdfx_ext_deps 529 deps += hiviewdfx_deps 530} 531 532host_unittest_action("EcmaVm_018_Test") { 533 module_out_path = module_output_path 534 535 sources = [ 536 # test file 537 "js_set_iterator_test.cpp", 538 "js_set_test.cpp", 539 "js_stable_array_test.cpp", 540 "js_symbol_test.cpp", 541 ] 542 543 configs = [ 544 "../../:ecma_test_config", 545 "$ark_root/assembler:arkassembler_public_config", 546 "$ark_root/libpandafile:arkfile_public_config", 547 ] 548 549 deps = [ 550 "$ark_third_party_root/icu/icu4c:shared_icui18n", 551 "$ark_third_party_root/icu/icu4c:shared_icuuc", 552 "../../:libark_jsruntime_test", 553 "../../../runtime_core/assembler:libarkassembler_static", 554 sdk_libc_secshared_dep, 555 ] 556 557 # hiviewdfx libraries 558 external_deps = hiviewdfx_ext_deps 559 external_deps += [ "zlib:libz" ] 560 deps += hiviewdfx_deps 561} 562 563host_unittest_action("EcmaVm_019_Test") { 564 module_out_path = module_output_path 565 566 sources = [ 567 # test file 568 "js_tagged_number_test.cpp", 569 "js_tagged_queue_test.cpp", 570 "js_typed_array_test.cpp", 571 "js_verification_test.cpp", 572 "layout_info_test.cpp", 573 ] 574 575 configs = [ 576 "../../:ecma_test_config", 577 "$ark_root/assembler:arkassembler_public_config", 578 "$ark_root/libpandafile:arkfile_public_config", 579 ] 580 581 deps = [ 582 "$ark_third_party_root/icu/icu4c:shared_icui18n", 583 "$ark_third_party_root/icu/icu4c:shared_icuuc", 584 "../../:libark_jsruntime_test", 585 "../../../runtime_core/assembler:libarkassembler_static", 586 sdk_libc_secshared_dep, 587 ] 588 589 # hiviewdfx libraries 590 external_deps = hiviewdfx_ext_deps 591 external_deps += [ "zlib:libz" ] 592 deps += hiviewdfx_deps 593} 594 595host_unittest_action("EcmaVm_020_Test") { 596 module_out_path = module_output_path 597 598 sources = [ 599 # test file 600 "lexical_env_test.cpp", 601 "linked_hash_table_test.cpp", 602 "linked_node_test.cpp", 603 ] 604 605 configs = [ 606 "../../:ecma_test_config", 607 "$ark_root/assembler:arkassembler_public_config", 608 "$ark_root/libpandafile:arkfile_public_config", 609 ] 610 611 deps = [ 612 "$ark_third_party_root/icu/icu4c:shared_icui18n", 613 "$ark_third_party_root/icu/icu4c:shared_icuuc", 614 "../../:libark_jsruntime_test", 615 "../../../runtime_core/assembler:libarkassembler_static", 616 sdk_libc_secshared_dep, 617 ] 618 619 # hiviewdfx libraries 620 external_deps = hiviewdfx_ext_deps 621 deps += hiviewdfx_deps 622} 623 624host_unittest_action("EcmaVm_021_Test") { 625 module_out_path = module_output_path 626 627 sources = [ 628 # test file 629 "native_pointer_test.cpp", 630 ] 631 632 configs = [ 633 "../../:ecma_test_config", 634 "$ark_root/assembler:arkassembler_public_config", 635 "$ark_root/libpandafile:arkfile_public_config", 636 ] 637 638 deps = [ 639 "$ark_third_party_root/icu/icu4c:shared_icui18n", 640 "$ark_third_party_root/icu/icu4c:shared_icuuc", 641 "../../:libark_jsruntime_test", 642 "../../../runtime_core/assembler:libarkassembler_static", 643 sdk_libc_secshared_dep, 644 ] 645 646 # hiviewdfx libraries 647 external_deps = hiviewdfx_ext_deps 648 deps += hiviewdfx_deps 649} 650 651host_unittest_action("EcmaVm_022_Test") { 652 module_out_path = module_output_path 653 654 sources = [ 655 # test file 656 "symbol_table_test.cpp", 657 "tagged_array_test.cpp", 658 "tagged_dictionary_test.cpp", 659 "tagged_hash_array_test.cpp", 660 "tagged_tree_test.cpp", 661 ] 662 663 configs = [ 664 "../../:ecma_test_config", 665 "$ark_root/assembler:arkassembler_public_config", 666 "$ark_root/libpandafile:arkfile_public_config", 667 ] 668 669 deps = [ 670 "$ark_third_party_root/icu/icu4c:shared_icui18n", 671 "$ark_third_party_root/icu/icu4c:shared_icuuc", 672 "../../:libark_jsruntime_test", 673 "../../../runtime_core/assembler:libarkassembler_static", 674 sdk_libc_secshared_dep, 675 ] 676 677 # hiviewdfx libraries 678 external_deps = hiviewdfx_ext_deps 679 deps += hiviewdfx_deps 680} 681 682host_unittest_action("EcmaVm_023_Test") { 683 module_out_path = module_output_path 684 685 sources = [ 686 # test file 687 "tagged_value_test.cpp", 688 "template_map_test.cpp", 689 "template_string_test.cpp", 690 "transitions_dictionary_test.cpp", 691 "waiter_list_test.cpp", 692 ] 693 694 configs = [ 695 "../../:ecma_test_config", 696 "$ark_root/assembler:arkassembler_public_config", 697 "$ark_root/libpandafile:arkfile_public_config", 698 ] 699 700 deps = [ 701 "$ark_third_party_root/icu/icu4c:shared_icui18n", 702 "$ark_third_party_root/icu/icu4c:shared_icuuc", 703 "../../:libark_jsruntime_test", 704 "../../../runtime_core/assembler:libarkassembler_static", 705 sdk_libc_secshared_dep, 706 ] 707 708 # hiviewdfx libraries 709 external_deps = hiviewdfx_ext_deps 710 external_deps += [ "zlib:libz" ] 711 deps += hiviewdfx_deps 712} 713 714host_unittest_action("EcmaVm_024_Test") { 715 module_out_path = module_output_path 716 717 sources = [ 718 # test file 719 "weak_ref_old_gc_test.cpp", 720 "weak_ref_semi_gc_test.cpp", 721 722 # "weak_vector_test.cpp", 723 ] 724 725 configs = [ 726 "../../:ecma_test_config", 727 "$ark_root/assembler:arkassembler_public_config", 728 "$ark_root/libpandafile:arkfile_public_config", 729 ] 730 731 deps = [ 732 "$ark_third_party_root/icu/icu4c:shared_icui18n", 733 "$ark_third_party_root/icu/icu4c:shared_icuuc", 734 "../../:libark_jsruntime_test", 735 "//arkcompiler/runtime_core/assembler:libarkassembler_static", 736 sdk_libc_secshared_dep, 737 ] 738 739 # hiviewdfx libraries 740 external_deps = hiviewdfx_ext_deps 741 deps += hiviewdfx_deps 742} 743 744host_unittest_action("EcmaVm_025_Test") { 745 module_out_path = module_output_path 746 747 sources = [ 748 # test file 749 "mem_controller_test.cpp", 750 ] 751 752 configs = [ 753 "../../:ecma_test_config", 754 "$ark_root/assembler:arkassembler_public_config", 755 "$ark_root/libpandafile:arkfile_public_config", 756 ] 757 758 deps = [ 759 "$ark_third_party_root/icu/icu4c:shared_icui18n", 760 "$ark_third_party_root/icu/icu4c:shared_icuuc", 761 "../../:libark_jsruntime_test", 762 "../../../runtime_core/assembler:libarkassembler_static", 763 sdk_libc_secshared_dep, 764 ] 765 766 # hiviewdfx libraries 767 external_deps = hiviewdfx_ext_deps 768 deps += hiviewdfx_deps 769} 770 771host_unittest_action("EcmaVm_026_Test") { 772 module_out_path = module_output_path 773 774 sources = [ 775 # test file 776 "mem_map_allocator_test.cpp", 777 ] 778 779 configs = [ 780 "../../:ecma_test_config", 781 "$ark_root/assembler:arkassembler_public_config", 782 "$ark_root/libpandafile:arkfile_public_config", 783 ] 784 785 deps = [ 786 "$ark_third_party_root/icu/icu4c:shared_icui18n", 787 "$ark_third_party_root/icu/icu4c:shared_icuuc", 788 "../../:libark_jsruntime_test", 789 "../../../runtime_core/assembler:libarkassembler_static", 790 sdk_libc_secshared_dep, 791 ] 792 793 # hiviewdfx libraries 794 external_deps = hiviewdfx_ext_deps 795 deps += hiviewdfx_deps 796} 797 798host_unittest_action("EcmaVm_027_Test") { 799 module_out_path = module_output_path 800 801 sources = [ 802 # test file 803 "js_collator_test.cpp", 804 ] 805 806 configs = [ 807 "../../:ecma_test_config", 808 "../../:icu_path_test_config", 809 ] 810 811 deps = [ 812 "$ark_third_party_root/icu/icu4c:shared_icui18n", 813 "$ark_third_party_root/icu/icu4c:shared_icuuc", 814 "../../:libark_jsruntime_test", 815 sdk_libc_secshared_dep, 816 ] 817 818 # hiviewdfx libraries 819 external_deps = hiviewdfx_ext_deps 820 deps += hiviewdfx_deps 821} 822 823host_unittest_action("EcmaVm_028_Test") { 824 module_out_path = module_output_path 825 826 sources = [ 827 # test file 828 "js_dataview_test.cpp", 829 ] 830 831 configs = [ 832 "../../:ecma_test_config", 833 "../../:icu_path_test_config", 834 ] 835 836 deps = [ 837 "$ark_third_party_root/icu/icu4c:shared_icui18n", 838 "$ark_third_party_root/icu/icu4c:shared_icuuc", 839 "../../:libark_jsruntime_test", 840 sdk_libc_secshared_dep, 841 ] 842 843 # hiviewdfx libraries 844 external_deps = hiviewdfx_ext_deps 845 deps += hiviewdfx_deps 846} 847 848host_unittest_action("EcmaVm_029_Test") { 849 module_out_path = module_output_path 850 851 sources = [ 852 # test file 853 "js_date_test.cpp", 854 ] 855 856 configs = [ 857 "../../:ecma_test_config", 858 "../../:icu_path_test_config", 859 ] 860 861 deps = [ 862 "$ark_third_party_root/icu/icu4c:shared_icui18n", 863 "$ark_third_party_root/icu/icu4c:shared_icuuc", 864 "../../:libark_jsruntime_test", 865 sdk_libc_secshared_dep, 866 ] 867 868 # hiviewdfx libraries 869 external_deps = hiviewdfx_ext_deps 870 deps += hiviewdfx_deps 871} 872 873host_unittest_action("EcmaVm_030_Test") { 874 module_out_path = module_output_path 875 876 sources = [ 877 # test file 878 "js_date_time_format_first_test.cpp", 879 ] 880 881 configs = [ 882 "../../:ecma_test_config", 883 "../../:icu_path_test_config", 884 ] 885 886 deps = [ 887 "$ark_third_party_root/icu/icu4c:shared_icui18n", 888 "$ark_third_party_root/icu/icu4c:shared_icuuc", 889 "../../:libark_jsruntime_test", 890 sdk_libc_secshared_dep, 891 ] 892 893 # hiviewdfx libraries 894 external_deps = hiviewdfx_ext_deps 895 deps += hiviewdfx_deps 896} 897 898host_unittest_action("EcmaVm_031_Test") { 899 module_out_path = module_output_path 900 901 sources = [ 902 # test file 903 "js_hclass_test.cpp", 904 ] 905 906 configs = [ 907 "../../:ecma_test_config", 908 "../../:icu_path_test_config", 909 ] 910 911 deps = [ 912 "$ark_third_party_root/icu/icu4c:shared_icui18n", 913 "$ark_third_party_root/icu/icu4c:shared_icuuc", 914 "../../:libark_jsruntime_test", 915 sdk_libc_secshared_dep, 916 ] 917 918 # hiviewdfx libraries 919 external_deps = hiviewdfx_ext_deps 920 deps += hiviewdfx_deps 921} 922 923host_unittest_action("EcmaVm_032_Test") { 924 module_out_path = module_output_path 925 926 sources = [ 927 # test file 928 "js_iterator_test.cpp", 929 ] 930 931 configs = [ 932 "../../:ecma_test_config", 933 "../../:icu_path_test_config", 934 ] 935 936 deps = [ 937 "$ark_third_party_root/icu/icu4c:shared_icui18n", 938 "$ark_third_party_root/icu/icu4c:shared_icuuc", 939 "../../:libark_jsruntime_test", 940 sdk_libc_secshared_dep, 941 ] 942 943 # hiviewdfx libraries 944 external_deps = hiviewdfx_ext_deps 945 deps += hiviewdfx_deps 946} 947 948host_unittest_action("EcmaVm_033_Test") { 949 module_out_path = module_output_path 950 951 sources = [ 952 # test file 953 "js_list_format_test.cpp", 954 ] 955 956 configs = [ 957 "../../:ecma_test_config", 958 "../../:icu_path_test_config", 959 ] 960 961 deps = [ 962 "$ark_third_party_root/icu/icu4c:shared_icui18n", 963 "$ark_third_party_root/icu/icu4c:shared_icuuc", 964 "../../:libark_jsruntime_test", 965 sdk_libc_secshared_dep, 966 ] 967 968 # hiviewdfx libraries 969 external_deps = hiviewdfx_ext_deps 970 deps += hiviewdfx_deps 971} 972 973host_unittest_action("EcmaVm_034_Test") { 974 module_out_path = module_output_path 975 976 sources = [ 977 # test file 978 "js_locale_test.cpp", 979 ] 980 981 configs = [ 982 "../../:ecma_test_config", 983 "../../:icu_path_test_config", 984 ] 985 986 deps = [ 987 "$ark_third_party_root/icu/icu4c:shared_icui18n", 988 "$ark_third_party_root/icu/icu4c:shared_icuuc", 989 "../../:libark_jsruntime_test", 990 sdk_libc_secshared_dep, 991 ] 992 993 # hiviewdfx libraries 994 external_deps = hiviewdfx_ext_deps 995 deps += hiviewdfx_deps 996} 997 998host_unittest_action("EcmaVm_035_Test") { 999 module_out_path = module_output_path 1000 1001 sources = [ 1002 # test file 1003 "ecma_vm_test.cpp", 1004 ] 1005 1006 configs = [ 1007 "../../:asm_interp_enable_config", 1008 "../../:ecma_test_config", 1009 "$ark_root/assembler:arkassembler_public_config", 1010 "$ark_root/libpandafile:arkfile_public_config", 1011 ] 1012 1013 deps = [ 1014 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1015 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1016 "../../:libark_jsruntime_test", 1017 sdk_libc_secshared_dep, 1018 ] 1019 1020 # hiviewdfx libraries 1021 external_deps = hiviewdfx_ext_deps 1022 deps += hiviewdfx_deps 1023} 1024 1025host_unittest_action("EcmaVm_037_Test") { 1026 module_out_path = module_output_path 1027 1028 sources = [ 1029 # test file 1030 "gc_first_test.cpp", 1031 ] 1032 1033 configs = [ 1034 "../../:asm_interp_enable_config", 1035 "../../:ecma_test_config", 1036 "$ark_root/assembler:arkassembler_public_config", 1037 "$ark_root/libpandafile:arkfile_public_config", 1038 ] 1039 1040 deps = [ 1041 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1042 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1043 "../../:libark_jsruntime_test", 1044 sdk_libc_secshared_dep, 1045 ] 1046 1047 # hiviewdfx libraries 1048 external_deps = hiviewdfx_ext_deps 1049 deps += hiviewdfx_deps 1050} 1051 1052host_unittest_action("EcmaVm_038_Test") { 1053 module_out_path = module_output_path 1054 1055 sources = [ 1056 # test file 1057 "global_dictionary_test.cpp", 1058 ] 1059 1060 configs = [ 1061 "../../:asm_interp_enable_config", 1062 "../../:ecma_test_config", 1063 "$ark_root/assembler:arkassembler_public_config", 1064 "$ark_root/libpandafile:arkfile_public_config", 1065 ] 1066 1067 deps = [ 1068 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1069 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1070 "../../:libark_jsruntime_test", 1071 sdk_libc_secshared_dep, 1072 ] 1073 1074 # hiviewdfx libraries 1075 external_deps = hiviewdfx_ext_deps 1076 deps += hiviewdfx_deps 1077} 1078 1079host_unittest_action("EcmaVm_039_Test") { 1080 module_out_path = module_output_path 1081 1082 sources = [ 1083 # test file 1084 "object_factory_test.cpp", 1085 "shared_object_factory_test.cpp", 1086 ] 1087 1088 configs = [ 1089 "../../:ecma_test_config", 1090 "$ark_root/assembler:arkassembler_public_config", 1091 "$ark_root/libpandafile:arkfile_public_config", 1092 ] 1093 1094 deps = [ 1095 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1096 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1097 "../../:libark_jsruntime_test", 1098 "../../../runtime_core/assembler:libarkassembler_static", 1099 sdk_libc_secshared_dep, 1100 ] 1101 1102 # hiviewdfx libraries 1103 external_deps = hiviewdfx_ext_deps 1104 deps += hiviewdfx_deps 1105} 1106 1107host_unittest_action("EcmaVm_040_Test") { 1108 module_out_path = module_output_path 1109 1110 sources = [ 1111 # test file 1112 "object_operator_first_test.cpp", 1113 ] 1114 1115 configs = [ 1116 "../../:ecma_test_config", 1117 "$ark_root/assembler:arkassembler_public_config", 1118 "$ark_root/libpandafile:arkfile_public_config", 1119 ] 1120 1121 deps = [ 1122 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1123 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1124 "../../:libark_jsruntime_test", 1125 "../../../runtime_core/assembler:libarkassembler_static", 1126 sdk_libc_secshared_dep, 1127 ] 1128 1129 # hiviewdfx libraries 1130 external_deps = hiviewdfx_ext_deps 1131 deps += hiviewdfx_deps 1132} 1133 1134host_unittest_action("EcmaVm_041_Test") { 1135 module_out_path = module_output_path 1136 1137 sources = [ 1138 # test file 1139 "rb_tree_node_test.cpp", 1140 ] 1141 1142 configs = [ 1143 "../../:ecma_test_config", 1144 "$ark_root/assembler:arkassembler_public_config", 1145 "$ark_root/libpandafile:arkfile_public_config", 1146 ] 1147 1148 deps = [ 1149 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1150 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1151 "../../:libark_jsruntime_test", 1152 "../../../runtime_core/assembler:libarkassembler_static", 1153 sdk_libc_secshared_dep, 1154 ] 1155 1156 # hiviewdfx libraries 1157 external_deps = hiviewdfx_ext_deps 1158 deps += hiviewdfx_deps 1159} 1160 1161host_unittest_action("EcmaVm_042_Test") { 1162 module_out_path = module_output_path 1163 1164 sources = [ 1165 # test file 1166 "read_only_space_test.cpp", 1167 ] 1168 1169 configs = [ 1170 "../../:ecma_test_config", 1171 "$ark_root/assembler:arkassembler_public_config", 1172 "$ark_root/libpandafile:arkfile_public_config", 1173 ] 1174 1175 deps = [ 1176 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1177 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1178 "../../:libark_jsruntime_test", 1179 "../../../runtime_core/assembler:libarkassembler_static", 1180 sdk_libc_secshared_dep, 1181 ] 1182 1183 # hiviewdfx libraries 1184 external_deps = hiviewdfx_ext_deps 1185 external_deps += [ "zlib:libz" ] 1186 deps += hiviewdfx_deps 1187} 1188 1189host_unittest_action("EcmaVm_043_Test") { 1190 module_out_path = module_output_path 1191 1192 sources = [ 1193 # test file 1194 "gc_second_test.cpp", 1195 ] 1196 1197 configs = [ 1198 "../../:asm_interp_enable_config", 1199 "../../:ecma_test_config", 1200 "$ark_root/assembler:arkassembler_public_config", 1201 "$ark_root/libpandafile:arkfile_public_config", 1202 ] 1203 1204 deps = [ 1205 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1206 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1207 "../../:libark_jsruntime_test", 1208 sdk_libc_secshared_dep, 1209 ] 1210 1211 # hiviewdfx libraries 1212 external_deps = hiviewdfx_ext_deps 1213 deps += hiviewdfx_deps 1214} 1215 1216host_unittest_action("EcmaVm_044_Test") { 1217 module_out_path = module_output_path 1218 1219 sources = [ 1220 # test file 1221 "object_operator_second_test.cpp", 1222 ] 1223 1224 configs = [ 1225 "../../:ecma_test_config", 1226 "$ark_root/assembler:arkassembler_public_config", 1227 "$ark_root/libpandafile:arkfile_public_config", 1228 ] 1229 1230 deps = [ 1231 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1232 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1233 "../../:libark_jsruntime_test", 1234 "../../../runtime_core/assembler:libarkassembler_static", 1235 sdk_libc_secshared_dep, 1236 ] 1237 1238 # hiviewdfx libraries 1239 external_deps = hiviewdfx_ext_deps 1240 deps += hiviewdfx_deps 1241} 1242 1243host_unittest_action("EcmaVm_045_Test") { 1244 module_out_path = module_output_path 1245 1246 sources = [ 1247 # test file 1248 "js_date_time_format_second_test.cpp", 1249 ] 1250 1251 configs = [ 1252 "../../:ecma_test_config", 1253 "../../:icu_path_test_config", 1254 ] 1255 1256 deps = [ 1257 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1258 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1259 "../../:libark_jsruntime_test", 1260 sdk_libc_secshared_dep, 1261 ] 1262 1263 # hiviewdfx libraries 1264 external_deps = hiviewdfx_ext_deps 1265 deps += hiviewdfx_deps 1266} 1267 1268host_unittest_action("EcmaVm_046_Test") { 1269 module_out_path = module_output_path 1270 1271 sources = [ 1272 # test file 1273 "object_operator_third_test.cpp", 1274 ] 1275 1276 configs = [ 1277 "../../:ecma_test_config", 1278 "$ark_root/assembler:arkassembler_public_config", 1279 "$ark_root/libpandafile:arkfile_public_config", 1280 ] 1281 1282 deps = [ 1283 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1284 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1285 "../../:libark_jsruntime_test", 1286 "../../../runtime_core/assembler:libarkassembler_static", 1287 sdk_libc_secshared_dep, 1288 ] 1289 1290 # hiviewdfx libraries 1291 external_deps = hiviewdfx_ext_deps 1292 deps += hiviewdfx_deps 1293} 1294 1295host_unittest_action("EcmaVm_047_Test") { 1296 module_out_path = module_output_path 1297 1298 sources = [ 1299 # test file 1300 "gc_third_test.cpp", 1301 ] 1302 1303 configs = [ 1304 "../../:asm_interp_enable_config", 1305 "../../:ecma_test_config", 1306 "$ark_root/assembler:arkassembler_public_config", 1307 "$ark_root/libpandafile:arkfile_public_config", 1308 ] 1309 1310 deps = [ 1311 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1312 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1313 "../../:libark_jsruntime_test", 1314 sdk_libc_secshared_dep, 1315 ] 1316 1317 # hiviewdfx libraries 1318 external_deps = hiviewdfx_ext_deps 1319 deps += hiviewdfx_deps 1320} 1321 1322host_unittest_action("EcmaVm_048_Test") { 1323 module_out_path = module_output_path 1324 1325 sources = [ 1326 # test file 1327 "js_thread_state_test.cpp", 1328 ] 1329 1330 configs = [ 1331 "../../:asm_interp_enable_config", 1332 "../../:ecma_test_config", 1333 "$ark_root/assembler:arkassembler_public_config", 1334 "$ark_root/libpandafile:arkfile_public_config", 1335 ] 1336 1337 deps = [ 1338 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1339 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1340 "../../:libark_jsruntime_test", 1341 sdk_libc_secshared_dep, 1342 ] 1343 1344 # hiviewdfx libraries 1345 external_deps = hiviewdfx_ext_deps 1346 deps += hiviewdfx_deps 1347} 1348 1349host_unittest_action("EcmaVm_049_Test") { 1350 module_out_path = module_output_path 1351 1352 sources = [ 1353 # test file 1354 "js_api_bitvector_iterator_test.cpp", 1355 "js_api_bitvector_test.cpp", 1356 ] 1357 1358 configs = [ 1359 "../../:asm_interp_enable_config", 1360 "../../:ecma_test_config", 1361 "$ark_root/assembler:arkassembler_public_config", 1362 "$ark_root/libpandafile:arkfile_public_config", 1363 ] 1364 1365 deps = [ 1366 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1367 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1368 "../../:libark_jsruntime_test", 1369 sdk_libc_secshared_dep, 1370 ] 1371 1372 # hiviewdfx libraries 1373 external_deps = hiviewdfx_ext_deps 1374 deps += hiviewdfx_deps 1375} 1376 1377host_unittest_action("EcmaVm_051_Test") { 1378 module_out_path = module_output_path 1379 1380 sources = [ 1381 # test file 1382 "jit_fort_test.cpp", 1383 ] 1384 1385 configs = [ 1386 "../../:asm_interp_enable_config", 1387 "../../:ecma_test_config", 1388 "$ark_root/assembler:arkassembler_public_config", 1389 "$ark_root/libpandafile:arkfile_public_config", 1390 ] 1391 1392 deps = [ 1393 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1394 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1395 "../../:libark_jsruntime_test", 1396 sdk_libc_secshared_dep, 1397 ] 1398 1399 # hiviewdfx libraries 1400 external_deps = hiviewdfx_ext_deps 1401 deps += hiviewdfx_deps 1402} 1403 1404host_unittest_action("EcmaVm_052_Test") { 1405 module_out_path = module_output_path 1406 1407 sources = [ 1408 # test file 1409 "gc_verify_test.cpp", 1410 "idle_gc_trigger_test.cpp", 1411 ] 1412 1413 configs = [ 1414 "../../:asm_interp_enable_config", 1415 "../../:ecma_test_config", 1416 "$ark_root/assembler:arkassembler_public_config", 1417 "$ark_root/libpandafile:arkfile_public_config", 1418 ] 1419 1420 deps = [ 1421 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1422 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1423 "../../:libark_jsruntime_test", 1424 sdk_libc_secshared_dep, 1425 ] 1426 1427 # hiviewdfx libraries 1428 external_deps = hiviewdfx_ext_deps 1429 deps += hiviewdfx_deps 1430} 1431 1432host_unittest_action("EcmaVm_053_Test") { 1433 module_out_path = module_output_path 1434 1435 sources = [ 1436 # test file 1437 "barrier_test.cpp", 1438 ] 1439 1440 configs = [ 1441 "../../:ecma_test_config", 1442 "$ark_root/assembler:arkassembler_public_config", 1443 "$ark_root/libpandafile:arkfile_public_config", 1444 ] 1445 1446 deps = [ 1447 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1448 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1449 "../../:libark_jsruntime_test", 1450 "../../../runtime_core/assembler:libarkassembler_static", 1451 sdk_libc_secshared_dep, 1452 ] 1453 1454 # hiviewdfx libraries 1455 external_deps = hiviewdfx_ext_deps 1456 deps += hiviewdfx_deps 1457} 1458 1459host_unittest_action("EcmaVm_054_Test") { 1460 module_out_path = module_output_path 1461 1462 sources = [ 1463 # test file 1464 "machine_code_test.cpp", 1465 ] 1466 1467 configs = [ 1468 "../../:ecma_test_config", 1469 "$ark_root/assembler:arkassembler_public_config", 1470 "$ark_root/libpandafile:arkfile_public_config", 1471 ] 1472 1473 deps = [ 1474 "$ark_third_party_root/icu/icu4c:shared_icui18n", 1475 "$ark_third_party_root/icu/icu4c:shared_icuuc", 1476 "../../:libark_jsruntime_test", 1477 "../../../runtime_core/assembler:libarkassembler_static", 1478 sdk_libc_secshared_dep, 1479 ] 1480 1481 # hiviewdfx libraries 1482 external_deps = hiviewdfx_ext_deps 1483 deps += hiviewdfx_deps 1484} 1485 1486group("unittest") { 1487 testonly = true 1488 1489 # deps file 1490 deps = [ 1491 ":EcmaVm_001_Test", 1492 ":EcmaVm_002_Test", 1493 ":EcmaVm_003_Test", 1494 ":EcmaVm_004_Test", 1495 ":EcmaVm_005_Test", 1496 ":EcmaVm_006_Test", 1497 ":EcmaVm_007_Test", 1498 ":EcmaVm_008_Test", 1499 ":EcmaVm_009_Test", 1500 ":EcmaVm_010_Test", 1501 ":EcmaVm_011_Test", 1502 ":EcmaVm_012_Test", 1503 ":EcmaVm_013_Test", 1504 ":EcmaVm_014_Test", 1505 ":EcmaVm_015_Test", 1506 ":EcmaVm_016_Test", 1507 ":EcmaVm_017_Test", 1508 ":EcmaVm_018_Test", 1509 ":EcmaVm_019_Test", 1510 ":EcmaVm_020_Test", 1511 ":EcmaVm_021_Test", 1512 ":EcmaVm_022_Test", 1513 ":EcmaVm_023_Test", 1514 ":EcmaVm_024_Test", 1515 ":EcmaVm_025_Test", 1516 ":EcmaVm_026_Test", 1517 ":EcmaVm_027_Test", 1518 ":EcmaVm_028_Test", 1519 ":EcmaVm_029_Test", 1520 ":EcmaVm_030_Test", 1521 ":EcmaVm_031_Test", 1522 ":EcmaVm_032_Test", 1523 ":EcmaVm_033_Test", 1524 ":EcmaVm_034_Test", 1525 ":EcmaVm_035_Test", 1526 ":EcmaVm_037_Test", 1527 ":EcmaVm_038_Test", 1528 ":EcmaVm_039_Test", 1529 ":EcmaVm_040_Test", 1530 ":EcmaVm_041_Test", 1531 ":EcmaVm_042_Test", 1532 ":EcmaVm_043_Test", 1533 ":EcmaVm_044_Test", 1534 ":EcmaVm_045_Test", 1535 ":EcmaVm_046_Test", 1536 ":EcmaVm_047_Test", 1537 ":EcmaVm_048_Test", 1538 ":EcmaVm_051_Test", 1539 ":EcmaVm_052_Test", 1540 ":EcmaVm_053_Test", 1541 ":EcmaVm_054_Test", 1542 ] 1543} 1544 1545group("host_unittest") { 1546 testonly = true 1547 1548 # deps file 1549 deps = [ 1550 ":EcmaVm_001_TestAction", 1551 ":EcmaVm_002_TestAction", 1552 ":EcmaVm_003_TestAction", 1553 ":EcmaVm_004_TestAction", 1554 ":EcmaVm_005_TestAction", 1555 ":EcmaVm_006_TestAction", 1556 ":EcmaVm_007_TestAction", 1557 ":EcmaVm_008_TestAction", 1558 ":EcmaVm_009_TestAction", 1559 ":EcmaVm_010_TestAction", 1560 ":EcmaVm_011_TestAction", 1561 ":EcmaVm_012_TestAction", 1562 ":EcmaVm_013_TestAction", 1563 ":EcmaVm_014_TestAction", 1564 ":EcmaVm_015_TestAction", 1565 ":EcmaVm_016_TestAction", 1566 ":EcmaVm_017_TestAction", 1567 ":EcmaVm_018_TestAction", 1568 ":EcmaVm_019_TestAction", 1569 ":EcmaVm_020_TestAction", 1570 ":EcmaVm_021_TestAction", 1571 ":EcmaVm_022_TestAction", 1572 ":EcmaVm_023_TestAction", 1573 ":EcmaVm_024_TestAction", 1574 ":EcmaVm_025_TestAction", 1575 ":EcmaVm_026_TestAction", 1576 ":EcmaVm_027_TestAction", 1577 ":EcmaVm_028_TestAction", 1578 ":EcmaVm_029_TestAction", 1579 ":EcmaVm_030_TestAction", 1580 ":EcmaVm_031_TestAction", 1581 ":EcmaVm_032_TestAction", 1582 ":EcmaVm_033_TestAction", 1583 ":EcmaVm_034_TestAction", 1584 ":EcmaVm_035_TestAction", 1585 ":EcmaVm_037_TestAction", 1586 ":EcmaVm_038_TestAction", 1587 ":EcmaVm_039_TestAction", 1588 ":EcmaVm_040_TestAction", 1589 ":EcmaVm_041_TestAction", 1590 ":EcmaVm_042_TestAction", 1591 ":EcmaVm_043_TestAction", 1592 ":EcmaVm_044_TestAction", 1593 ":EcmaVm_045_TestAction", 1594 ":EcmaVm_046_TestAction", 1595 ":EcmaVm_047_TestAction", 1596 ":EcmaVm_048_TestAction", 1597 ":EcmaVm_051_TestAction", 1598 ":EcmaVm_052_TestAction", 1599 ":EcmaVm_053_TestAction", 1600 ":EcmaVm_054_TestAction", 1601 ] 1602 1603 if (is_mac) { 1604 deps -= [ 1605 ":EcmaVm_001_TestAction", 1606 ":EcmaVm_002_TestAction", 1607 ":EcmaVm_003_TestAction", 1608 ":EcmaVm_004_TestAction", 1609 ":EcmaVm_005_TestAction", 1610 ":EcmaVm_006_TestAction", 1611 ":EcmaVm_007_TestAction", 1612 ":EcmaVm_008_TestAction", 1613 ":EcmaVm_009_TestAction", 1614 ":EcmaVm_010_TestAction", 1615 ":EcmaVm_011_TestAction", 1616 ":EcmaVm_012_TestAction", 1617 ":EcmaVm_013_TestAction", 1618 ":EcmaVm_014_TestAction", 1619 ":EcmaVm_015_TestAction", 1620 ":EcmaVm_016_TestAction", 1621 ":EcmaVm_017_TestAction", 1622 ":EcmaVm_018_TestAction", 1623 ":EcmaVm_019_TestAction", 1624 ":EcmaVm_020_TestAction", 1625 ":EcmaVm_021_TestAction", 1626 ":EcmaVm_022_TestAction", 1627 ":EcmaVm_023_TestAction", 1628 ":EcmaVm_024_TestAction", 1629 ":EcmaVm_025_TestAction", 1630 ":EcmaVm_026_TestAction", 1631 ":EcmaVm_027_TestAction", 1632 ":EcmaVm_028_TestAction", 1633 ":EcmaVm_029_TestAction", 1634 ":EcmaVm_030_TestAction", 1635 ":EcmaVm_031_TestAction", 1636 ":EcmaVm_032_TestAction", 1637 ":EcmaVm_033_TestAction", 1638 ":EcmaVm_034_TestAction", 1639 ":EcmaVm_035_TestAction", 1640 ":EcmaVm_037_TestAction", 1641 ":EcmaVm_038_TestAction", 1642 ":EcmaVm_039_TestAction", 1643 ":EcmaVm_040_TestAction", 1644 ":EcmaVm_041_TestAction", 1645 ":EcmaVm_042_TestAction", 1646 ":EcmaVm_043_TestAction", 1647 ":EcmaVm_044_TestAction", 1648 ":EcmaVm_045_TestAction", 1649 ":EcmaVm_046_TestAction", 1650 ":EcmaVm_047_TestAction", 1651 ":EcmaVm_048_TestAction", 1652 ":EcmaVm_051_TestAction", 1653 ":EcmaVm_052_TestAction", 1654 ":EcmaVm_053_TestAction", 1655 ":EcmaVm_054_TestAction", 1656 ] 1657 } 1658} 1659