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/test.gni") 15import("//foundation/graphic/graphic_2d/graphic_config.gni") 16 17module_out_path = "graphic_2d/composer" 18 19group("systemtest") { 20 testonly = true 21 22 deps = [ 23 ":nativeVsync_getPeriod_test_st", 24 ":nativeVsync_requestFrame_test_st", 25 ":nativeVsync_requestMultiCB_test_st", 26 ":vsync_120to30_test_st", 27 ":vsync_120to60_test_st", 28 ":vsync_120to90_test_st", 29 ":vsync_30to120_test_st", 30 ":vsync_30to60_test_st", 31 ":vsync_30to90_test_st", 32 ":vsync_60to120_test_st", 33 ":vsync_60to30_test_st", 34 ":vsync_60to90_test_st", 35 ":vsync_90to120_test_st", 36 ":vsync_90to30_test_st", 37 ":vsync_90to60_test_st", 38 ":vsync_callbackeveryframe_test_st", 39 ":vsync_limit_test_st", 40 ":vsync_ltpo_test_st", 41 ":vsync_multicallback_test_st", 42 ":vsync_sample_test_st", 43 ":vsync_setvsyncrate_test_st", 44 ":vsync_test_st", 45 ] 46} 47 48## SystemTest vsync_test {{{ 49ohos_unittest("vsync_test_st") { 50 module_out_path = module_out_path 51 52 sources = [ "vsync_test.cpp" ] 53 54 include_dirs = [ 55 "//foundation/graphic/graphic_2d/interfaces/inner_api/common", 56 "//foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include", 57 "//foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test", 58 "//utils/system/safwk/native/include", 59 ] 60 61 cflags = [ 62 "-Wall", 63 "-Werror", 64 "-g3", 65 ] 66 67 deps = [ 68 "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", 69 "//foundation/graphic/graphic_2d/rosen/modules/composer/vsync:libvsync", 70 "//foundation/graphic/graphic_2d/utils:socketpair", 71 "//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", 72 "//third_party/googletest:gtest_main", 73 ] 74 external_deps = [ 75 "access_token:libaccesstoken_sdk", 76 "c_utils:utils", 77 ] 78 79 defines = [] 80 if (graphic_2d_support_access_token) { 81 external_deps += [ 82 "access_token:libnativetoken", 83 "access_token:libtoken_setproc", 84 ] 85 defines += [ "SUPPORT_ACCESS_TOKEN" ] 86 } 87} 88 89## SystemTest vsync_test }}} 90 91## SystemTest vsync_ltpo_test {{{ 92ohos_unittest("vsync_ltpo_test_st") { 93 module_out_path = module_out_path 94 95 sources = [ "vsync_ltpo_test.cpp" ] 96 97 include_dirs = [ 98 "../../../../../../interfaces/inner_api/common", 99 "../../include", 100 ] 101 102 cflags = [ 103 "-Wall", 104 "-Werror", 105 "-g3", 106 ] 107 108 deps = [ 109 "../../../../../../utils:socketpair", 110 "../../../vsync:libvsync", 111 "//third_party/googletest:gtest_main", 112 ] 113 external_deps = [ 114 "access_token:libaccesstoken_sdk", 115 "c_utils:utils", 116 "ipc:ipc_core", 117 "samgr:samgr_proxy", 118 ] 119 120 defines = [] 121 if (graphic_2d_support_access_token) { 122 external_deps += [ 123 "access_token:libnativetoken", 124 "access_token:libtoken_setproc", 125 ] 126 defines += [ "SUPPORT_ACCESS_TOKEN" ] 127 } 128} 129 130## SystemTest vsync_ltpo_test }}} 131 132## SystemTest vsync_30to60_test {{{ 133ohos_unittest("vsync_30to60_test_st") { 134 module_out_path = module_out_path 135 136 sources = [ "vsync_30to60_test.cpp" ] 137 138 include_dirs = [ 139 "../../../../../../interfaces/inner_api/common", 140 "../../include", 141 ] 142 143 cflags = [ 144 "-Wall", 145 "-Werror", 146 "-g3", 147 ] 148 149 deps = [ 150 "../../../../../../utils:socketpair", 151 "../../../vsync:libvsync", 152 "//third_party/googletest:gtest_main", 153 ] 154 external_deps = [ 155 "access_token:libaccesstoken_sdk", 156 "c_utils:utils", 157 "ipc:ipc_core", 158 "samgr:samgr_proxy", 159 ] 160 161 defines = [] 162 if (graphic_2d_support_access_token) { 163 external_deps += [ 164 "access_token:libnativetoken", 165 "access_token:libtoken_setproc", 166 ] 167 defines += [ "SUPPORT_ACCESS_TOKEN" ] 168 } 169} 170 171## SystemTest vsync_30to60_test }}} 172 173## SystemTest vsync_30to90_test {{{ 174ohos_unittest("vsync_30to90_test_st") { 175 module_out_path = module_out_path 176 177 sources = [ "vsync_30to90_test.cpp" ] 178 179 include_dirs = [ 180 "../../../../../../interfaces/inner_api/common", 181 "../../include", 182 ] 183 184 cflags = [ 185 "-Wall", 186 "-Werror", 187 "-g3", 188 ] 189 190 deps = [ 191 "../../../../../../utils:socketpair", 192 "../../../vsync:libvsync", 193 "//third_party/googletest:gtest_main", 194 ] 195 external_deps = [ 196 "access_token:libaccesstoken_sdk", 197 "c_utils:utils", 198 "ipc:ipc_core", 199 "samgr:samgr_proxy", 200 ] 201 202 defines = [] 203 if (graphic_2d_support_access_token) { 204 external_deps += [ 205 "access_token:libnativetoken", 206 "access_token:libtoken_setproc", 207 ] 208 defines += [ "SUPPORT_ACCESS_TOKEN" ] 209 } 210} 211 212## SystemTest vsync_30to90_test }}} 213 214## SystemTest vsync_30to120_test {{{ 215ohos_unittest("vsync_30to120_test_st") { 216 module_out_path = module_out_path 217 218 sources = [ "vsync_30to120_test.cpp" ] 219 220 include_dirs = [ 221 "../../../../../../interfaces/inner_api/common", 222 "../../include", 223 ] 224 225 cflags = [ 226 "-Wall", 227 "-Werror", 228 "-g3", 229 ] 230 231 deps = [ 232 "../../../../../../utils:socketpair", 233 "../../../vsync:libvsync", 234 "//third_party/googletest:gtest_main", 235 ] 236 external_deps = [ 237 "access_token:libaccesstoken_sdk", 238 "c_utils:utils", 239 "ipc:ipc_core", 240 "samgr:samgr_proxy", 241 ] 242 243 defines = [] 244 if (graphic_2d_support_access_token) { 245 external_deps += [ 246 "access_token:libnativetoken", 247 "access_token:libtoken_setproc", 248 ] 249 defines += [ "SUPPORT_ACCESS_TOKEN" ] 250 } 251} 252 253## SystemTest vsync_30to120_test }}} 254 255## SystemTest vsync_60to30_test {{{ 256ohos_unittest("vsync_60to30_test_st") { 257 module_out_path = module_out_path 258 259 sources = [ "vsync_60to30_test.cpp" ] 260 261 include_dirs = [ 262 "../../../../../../interfaces/inner_api/common", 263 "../../include", 264 ] 265 266 cflags = [ 267 "-Wall", 268 "-Werror", 269 "-g3", 270 ] 271 272 deps = [ 273 "../../../../../../utils:socketpair", 274 "../../../vsync:libvsync", 275 "//third_party/googletest:gtest_main", 276 ] 277 external_deps = [ 278 "access_token:libaccesstoken_sdk", 279 "c_utils:utils", 280 "ipc:ipc_core", 281 "samgr:samgr_proxy", 282 ] 283 284 defines = [] 285 if (graphic_2d_support_access_token) { 286 external_deps += [ 287 "access_token:libnativetoken", 288 "access_token:libtoken_setproc", 289 ] 290 defines += [ "SUPPORT_ACCESS_TOKEN" ] 291 } 292} 293 294## SystemTest vsync_60to30_test }}} 295 296## SystemTest vsync_60to90_test {{{ 297ohos_unittest("vsync_60to90_test_st") { 298 module_out_path = module_out_path 299 300 sources = [ "vsync_60to90_test.cpp" ] 301 302 include_dirs = [ 303 "../../../../../../interfaces/inner_api/common", 304 "../../include", 305 ] 306 307 cflags = [ 308 "-Wall", 309 "-Werror", 310 "-g3", 311 ] 312 313 deps = [ 314 "../../../../../../utils:socketpair", 315 "../../../vsync:libvsync", 316 "//third_party/googletest:gtest_main", 317 ] 318 external_deps = [ 319 "access_token:libaccesstoken_sdk", 320 "c_utils:utils", 321 "ipc:ipc_core", 322 "samgr:samgr_proxy", 323 ] 324 325 defines = [] 326 if (graphic_2d_support_access_token) { 327 external_deps += [ 328 "access_token:libnativetoken", 329 "access_token:libtoken_setproc", 330 ] 331 defines += [ "SUPPORT_ACCESS_TOKEN" ] 332 } 333} 334 335## SystemTest vsync_60to90_test }}} 336 337## SystemTest vsync_60to120_test {{{ 338ohos_unittest("vsync_60to120_test_st") { 339 module_out_path = module_out_path 340 341 sources = [ "vsync_60to120_test.cpp" ] 342 343 include_dirs = [ 344 "../../../../../../interfaces/inner_api/common", 345 "../../include", 346 ] 347 348 cflags = [ 349 "-Wall", 350 "-Werror", 351 "-g3", 352 ] 353 354 deps = [ 355 "../../../../../../utils:socketpair", 356 "../../../vsync:libvsync", 357 "//third_party/googletest:gtest_main", 358 ] 359 external_deps = [ 360 "access_token:libaccesstoken_sdk", 361 "c_utils:utils", 362 "ipc:ipc_core", 363 "samgr:samgr_proxy", 364 ] 365 366 defines = [] 367 if (graphic_2d_support_access_token) { 368 external_deps += [ 369 "access_token:libnativetoken", 370 "access_token:libtoken_setproc", 371 ] 372 defines += [ "SUPPORT_ACCESS_TOKEN" ] 373 } 374} 375 376## SystemTest vsync_60to120_test }}} 377 378## SystemTest vsync_90to30_test {{{ 379ohos_unittest("vsync_90to30_test_st") { 380 module_out_path = module_out_path 381 382 sources = [ "vsync_90to30_test.cpp" ] 383 384 include_dirs = [ 385 "../../../../../../interfaces/inner_api/common", 386 "../../include", 387 ] 388 389 cflags = [ 390 "-Wall", 391 "-Werror", 392 "-g3", 393 ] 394 395 deps = [ 396 "../../../../../../utils:socketpair", 397 "../../../vsync:libvsync", 398 "//third_party/googletest:gtest_main", 399 ] 400 external_deps = [ 401 "access_token:libaccesstoken_sdk", 402 "c_utils:utils", 403 "ipc:ipc_core", 404 "samgr:samgr_proxy", 405 ] 406 407 defines = [] 408 if (graphic_2d_support_access_token) { 409 external_deps += [ 410 "access_token:libnativetoken", 411 "access_token:libtoken_setproc", 412 ] 413 defines += [ "SUPPORT_ACCESS_TOKEN" ] 414 } 415} 416 417## SystemTest vsync_90to30_test }}} 418 419## SystemTest vsync_90to60_test {{{ 420ohos_unittest("vsync_90to60_test_st") { 421 module_out_path = module_out_path 422 423 sources = [ "vsync_90to60_test.cpp" ] 424 425 include_dirs = [ 426 "../../../../../../interfaces/inner_api/common", 427 "../../include", 428 ] 429 430 cflags = [ 431 "-Wall", 432 "-Werror", 433 "-g3", 434 ] 435 436 deps = [ 437 "../../../../../../utils:socketpair", 438 "../../../vsync:libvsync", 439 "//third_party/googletest:gtest_main", 440 ] 441 external_deps = [ 442 "access_token:libaccesstoken_sdk", 443 "c_utils:utils", 444 "ipc:ipc_core", 445 "samgr:samgr_proxy", 446 ] 447 448 defines = [] 449 if (graphic_2d_support_access_token) { 450 external_deps += [ 451 "access_token:libnativetoken", 452 "access_token:libtoken_setproc", 453 ] 454 defines += [ "SUPPORT_ACCESS_TOKEN" ] 455 } 456} 457 458## SystemTest vsync_90to60_test }}} 459 460## SystemTest vsync_90to120_test {{{ 461ohos_unittest("vsync_90to120_test_st") { 462 module_out_path = module_out_path 463 464 sources = [ "vsync_90to120_test.cpp" ] 465 466 include_dirs = [ 467 "../../../../../../interfaces/inner_api/common", 468 "../../include", 469 ] 470 471 cflags = [ 472 "-Wall", 473 "-Werror", 474 "-g3", 475 ] 476 477 deps = [ 478 "../../../../../../utils:socketpair", 479 "../../../vsync:libvsync", 480 "//third_party/googletest:gtest_main", 481 ] 482 external_deps = [ 483 "access_token:libaccesstoken_sdk", 484 "c_utils:utils", 485 "ipc:ipc_core", 486 "samgr:samgr_proxy", 487 ] 488 489 defines = [] 490 if (graphic_2d_support_access_token) { 491 external_deps += [ 492 "access_token:libnativetoken", 493 "access_token:libtoken_setproc", 494 ] 495 defines += [ "SUPPORT_ACCESS_TOKEN" ] 496 } 497} 498 499## SystemTest vsync_90to120_test }}} 500 501## SystemTest vsync_120to30_test {{{ 502ohos_unittest("vsync_120to30_test_st") { 503 module_out_path = module_out_path 504 505 sources = [ "vsync_120to30_test.cpp" ] 506 507 include_dirs = [ 508 "../../../../../../interfaces/inner_api/common", 509 "../../include", 510 ] 511 512 cflags = [ 513 "-Wall", 514 "-Werror", 515 "-g3", 516 ] 517 518 deps = [ 519 "../../../../../../utils:socketpair", 520 "../../../vsync:libvsync", 521 "//third_party/googletest:gtest_main", 522 ] 523 external_deps = [ 524 "access_token:libaccesstoken_sdk", 525 "c_utils:utils", 526 "ipc:ipc_core", 527 "samgr:samgr_proxy", 528 ] 529 530 defines = [] 531 if (graphic_2d_support_access_token) { 532 external_deps += [ 533 "access_token:libnativetoken", 534 "access_token:libtoken_setproc", 535 ] 536 defines += [ "SUPPORT_ACCESS_TOKEN" ] 537 } 538} 539 540## SystemTest vsync_120to30_test }}} 541 542## SystemTest vsync_120to60_test {{{ 543ohos_unittest("vsync_120to60_test_st") { 544 module_out_path = module_out_path 545 546 sources = [ "vsync_120to60_test.cpp" ] 547 548 include_dirs = [ 549 "../../../../../../interfaces/inner_api/common", 550 "../../include", 551 ] 552 553 cflags = [ 554 "-Wall", 555 "-Werror", 556 "-g3", 557 ] 558 559 deps = [ 560 "../../../../../../utils:socketpair", 561 "../../../vsync:libvsync", 562 "//third_party/googletest:gtest_main", 563 ] 564 external_deps = [ 565 "access_token:libaccesstoken_sdk", 566 "c_utils:utils", 567 "ipc:ipc_core", 568 "samgr:samgr_proxy", 569 ] 570 571 defines = [] 572 if (graphic_2d_support_access_token) { 573 external_deps += [ 574 "access_token:libnativetoken", 575 "access_token:libtoken_setproc", 576 ] 577 defines += [ "SUPPORT_ACCESS_TOKEN" ] 578 } 579} 580 581## SystemTest vsync_120to60_test }}} 582 583## SystemTest vsync_120to90_test {{{ 584ohos_unittest("vsync_120to90_test_st") { 585 module_out_path = module_out_path 586 587 sources = [ "vsync_120to90_test.cpp" ] 588 589 include_dirs = [ 590 "../../../../../../interfaces/inner_api/common", 591 "../../include", 592 ] 593 594 cflags = [ 595 "-Wall", 596 "-Werror", 597 "-g3", 598 ] 599 600 deps = [ 601 "../../../../../../utils:socketpair", 602 "../../../vsync:libvsync", 603 "//third_party/googletest:gtest_main", 604 ] 605 external_deps = [ 606 "access_token:libaccesstoken_sdk", 607 "c_utils:utils", 608 "ipc:ipc_core", 609 "samgr:samgr_proxy", 610 ] 611 612 defines = [] 613 if (graphic_2d_support_access_token) { 614 external_deps += [ 615 "access_token:libnativetoken", 616 "access_token:libtoken_setproc", 617 ] 618 defines += [ "SUPPORT_ACCESS_TOKEN" ] 619 } 620} 621 622## SystemTest vsync_120to90_test }}} 623 624## SystemTest vsync_multicallback_test {{{ 625ohos_unittest("vsync_multicallback_test_st") { 626 module_out_path = module_out_path 627 628 sources = [ "vsync_multicallback_test.cpp" ] 629 630 include_dirs = [ 631 "../../../../../../interfaces/inner_api/common", 632 "../../../../../../rosen/modules/composer/vsync/include", 633 "../../../../../../rosen/modules/composer/vsync/test", 634 ] 635 636 cflags = [ 637 "-Wall", 638 "-Werror", 639 "-g3", 640 ] 641 642 deps = [ 643 "../..:libvsync", 644 "../../../../../../utils:socketpair", 645 "//third_party/googletest:gtest_main", 646 ] 647 external_deps = [ 648 "access_token:libaccesstoken_sdk", 649 "c_utils:utils", 650 "ipc:ipc_core", 651 "samgr:samgr_proxy", 652 ] 653 654 defines = [] 655 if (graphic_2d_support_access_token) { 656 external_deps += [ 657 "access_token:libnativetoken", 658 "access_token:libtoken_setproc", 659 ] 660 defines += [ "SUPPORT_ACCESS_TOKEN" ] 661 } 662} 663 664## SystemTest vsync_multicallback_test }}} 665 666## SystemTest vsync_limit_test {{{ 667ohos_unittest("vsync_limit_test_st") { 668 module_out_path = module_out_path 669 670 sources = [ "vsync_limit_test.cpp" ] 671 672 include_dirs = [ "../../../../../../interfaces/inner_api/composer" ] 673 674 cflags = [ 675 "-Wall", 676 "-Werror", 677 "-g3", 678 ] 679 680 deps = [ 681 "../../../native_vsync:libnative_vsync", 682 "//third_party/googletest:gtest_main", 683 ] 684} 685 686## SystemTest vsync_limit_test }}} 687 688## SystemTest nativeVsync_getPeriod_test {{{ 689ohos_unittest("nativeVsync_getPeriod_test_st") { 690 module_out_path = module_out_path 691 692 sources = [ "nativeVsync_getPeriod_test.cpp" ] 693 694 include_dirs = [ 695 "../../../../../../interfaces/inner_api/common", 696 "../../../../../../interfaces/inner_api/composer", 697 ] 698 699 cflags = [ 700 "-Wall", 701 "-Werror", 702 "-g3", 703 ] 704 705 deps = [ 706 "../../../native_vsync:libnative_vsync", 707 "//third_party/googletest:gtest_main", 708 ] 709} 710 711## SystemTest nativeVsync_getPeriod_test }}} 712 713## SystemTest nativeVsync_requestFrame_test {{{ 714ohos_unittest("nativeVsync_requestFrame_test_st") { 715 module_out_path = module_out_path 716 717 sources = [ "nativeVsync_requestFrame_test.cpp" ] 718 719 include_dirs = [ "../../../../../../interfaces/inner_api/composer" ] 720 721 cflags = [ 722 "-Wall", 723 "-Werror", 724 "-g3", 725 ] 726 727 deps = [ 728 "../../../native_vsync:libnative_vsync", 729 "//third_party/googletest:gtest_main", 730 ] 731} 732 733## SystemTest nativeVsync_requestFrame_test }}} 734 735## SystemTest nativeVsync_requestMultiCB_test {{{ 736ohos_unittest("nativeVsync_requestMultiCB_test_st") { 737 module_out_path = module_out_path 738 739 sources = [ "nativeVsync_requestMultiCB_test.cpp" ] 740 741 include_dirs = [ "../../../../../../interfaces/inner_api/composer" ] 742 743 cflags = [ 744 "-Wall", 745 "-Werror", 746 "-g3", 747 ] 748 749 deps = [ 750 "../../../native_vsync:libnative_vsync", 751 "//third_party/googletest:gtest_main", 752 ] 753} 754 755## SystemTest nativeVsync_requestMultiCB_test }}} 756 757## SystemTest vsync_setvsyncrate_test {{{ 758ohos_unittest("vsync_setvsyncrate_test_st") { 759 module_out_path = module_out_path 760 761 sources = [ "vsync_setvsyncrate_test.cpp" ] 762 763 include_dirs = [ 764 "../../../../../../interfaces/inner_api/common", 765 "../../../../../../rosen/modules/composer/vsync/include", 766 "../../../../../../rosen/modules/composer/vsync/test", 767 ] 768 769 cflags = [ 770 "-Wall", 771 "-Werror", 772 "-g3", 773 ] 774 775 deps = [ 776 "../..:libvsync", 777 "../../../../../../utils:socketpair", 778 "//third_party/googletest:gtest_main", 779 ] 780 external_deps = [ 781 "access_token:libaccesstoken_sdk", 782 "c_utils:utils", 783 "ipc:ipc_core", 784 "samgr:samgr_proxy", 785 ] 786 787 defines = [] 788 if (graphic_2d_support_access_token) { 789 external_deps += [ 790 "access_token:libnativetoken", 791 "access_token:libtoken_setproc", 792 ] 793 defines += [ "SUPPORT_ACCESS_TOKEN" ] 794 } 795} 796 797## SystemTest vsync_setvsyncrate_test }}} 798 799## SystemTest vsync_callbackeveryframe_test {{{ 800ohos_unittest("vsync_callbackeveryframe_test_st") { 801 module_out_path = module_out_path 802 803 sources = [ "vsync_callbackeveryframe_test.cpp" ] 804 805 include_dirs = [ 806 "../../../../../../interfaces/inner_api/common", 807 "../../../../../../rosen/modules/composer/vsync/include", 808 "../../../../../../rosen/modules/composer/vsync/test", 809 ] 810 811 cflags = [ 812 "-Wall", 813 "-Werror", 814 "-g3", 815 ] 816 817 deps = [ 818 "../..:libvsync", 819 "../../../../../../utils:socketpair", 820 "//third_party/googletest:gtest_main", 821 ] 822 external_deps = [ 823 "access_token:libaccesstoken_sdk", 824 "c_utils:utils", 825 "ipc:ipc_core", 826 "samgr:samgr_proxy", 827 ] 828 829 defines = [] 830 if (graphic_2d_support_access_token) { 831 external_deps += [ 832 "access_token:libnativetoken", 833 "access_token:libtoken_setproc", 834 ] 835 defines += [ "SUPPORT_ACCESS_TOKEN" ] 836 } 837} 838 839## SystemTest vsync_callbackeveryframe_test }}} 840 841## SystemTest vsync_sample_test {{{ 842ohos_unittest("vsync_sample_test_st") { 843 module_out_path = module_out_path 844 845 sources = [ "vsync_sample_test.cpp" ] 846 847 include_dirs = [ 848 "../../../../../../interfaces/inner_api/common", 849 "../../../../../../rosen/modules/composer/vsync/include", 850 "../../../../../../rosen/modules/composer/vsync/test", 851 ] 852 853 cflags = [ 854 "-Wall", 855 "-Werror", 856 "-g3", 857 ] 858 859 deps = [ 860 "../..:libvsync", 861 "../../../../../../utils:socketpair", 862 "//third_party/googletest:gtest_main", 863 ] 864 external_deps = [ 865 "access_token:libaccesstoken_sdk", 866 "c_utils:utils", 867 "ipc:ipc_core", 868 "samgr:samgr_proxy", 869 ] 870 871 defines = [] 872 if (graphic_2d_support_access_token) { 873 external_deps += [ 874 "access_token:libnativetoken", 875 "access_token:libtoken_setproc", 876 ] 877 defines += [ "SUPPORT_ACCESS_TOKEN" ] 878 } 879} 880## SystemTest vsync_sample_test }}} 881