1# Copyright (c) 2023 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("//base/inputmethod/imf/inputmethod.gni") 15 16#####################hydra-fuzz################### 17import("//build/config/features.gni") 18import("//build/ohos.gni") 19import("//build/test.gni") 20group("system_ability_stub_fuzztest") { 21 testonly = true 22 deps = [ 23 ":ConnectSystemCmdFuzzTest", 24 ":DisplayOptionalInputMethodFuzzTest", 25 ":ExitCurrentInputTypeFuzzTest", 26 ":GetCurrentInputmethodFuzzTest", 27 ":GetCurrentInputmethodSubtypeFuzzTest", 28 ":GetDefaultInputmethodFuzzTest", 29 ":GetInputMethodConfigFuzzTest", 30 ":GetSecurityModeFuzzTest", 31 ":HideCurrentInputDeprecatedFuzzTest", 32 ":HideCurrentInputFuzzTest", 33 ":HideInputFuzzTest", 34 ":ImsCmdLastFuzzTest", 35 ":IsCurrentImeFuzzTest", 36 ":IsDefaultImeFuzzTest", 37 ":IsInputTypeSupportedFuzzTest", 38 ":IsPanelShownFuzzTest", 39 ":ListCurrentInputmethodSubtypeFuzzTest", 40 ":ListInputmethodFuzzTest", 41 ":ListInputmethodSubtypeFuzzTest", 42 ":PanelStatusChangeFuzzTest", 43 ":ReleaseInputFuzzTest", 44 ":RequestHideInputFuzzTest", 45 ":RequestShowInputFuzzTest", 46 ":SetCoreAndAgentFuzzTest", 47 ":ShowCurrentInputDeprecatedFuzzTest", 48 ":ShowCurrentInputFuzzTest", 49 ":ShowInputFuzzTest", 50 ":StartInputFuzzTest", 51 ":StartInputTypeFuzzTest", 52 ":StopInputSessionFuzzTest", 53 ":SwitchInputMethodFuzzTest", 54 ":UnRegisteredProxyImeFuzzTest", 55 ":UpdateListenEventFlagFuzzTest", 56 ] 57} 58 59common_external_deps = [ 60 "ability_runtime:ability_manager", 61 "access_token:libaccesstoken_sdk", 62 "bundle_framework:appexecfwk_core", 63 "data_share:datashare_common", 64 "data_share:datashare_consumer", 65 "hilog:libhilog", 66 "input:libmmi-client", 67] 68 69common_deps = [ 70 "${inputmethod_path}/services/adapter/settings_data_provider:settings_data_static", 71 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common:imf_sa_stub_fuzztest_common_static", 72] 73 74##############################fuzztest########################################## 75ohos_fuzztest("GetCurrentInputmethodFuzzTest") { 76 module_out_path = "imf/imf" 77 78 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getcurrentinputmethod_fuzzer" 79 80 sources = [ "getcurrentinputmethod_fuzzer/getcurrentinputmethod_fuzzer.cpp" ] 81 82 include_dirs = [ 83 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getcurrentinputmethod_fuzzer", 84 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 85 ] 86 87 deps = common_deps 88 89 external_deps = common_external_deps 90} 91 92ohos_fuzztest("GetCurrentInputmethodSubtypeFuzzTest") { 93 module_out_path = "imf/imf" 94 95 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getcurrentinputmethodsubtype_fuzzer" 96 97 include_dirs = [ 98 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getcurrentinputmethodsubtype_fuzzer", 99 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 100 ] 101 102 sources = [ "getcurrentinputmethodsubtype_fuzzer/getcurrentinputmethodsubtype_fuzzer.cpp" ] 103 104 deps = common_deps 105 106 external_deps = common_external_deps 107} 108 109ohos_fuzztest("HideCurrentInputFuzzTest") { 110 module_out_path = "imf/imf" 111 112 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/hidecurrentinput_fuzzer" 113 114 include_dirs = [ 115 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/hidecurrentinput_fuzzer", 116 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 117 ] 118 119 sources = [ "hidecurrentinput_fuzzer/hidecurrentinput_fuzzer.cpp" ] 120 121 deps = common_deps 122 123 external_deps = common_external_deps 124} 125 126ohos_fuzztest("HideCurrentInputDeprecatedFuzzTest") { 127 module_out_path = "imf/imf" 128 129 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/hidecurrentinputdeprecated_fuzzer" 130 131 include_dirs = [ 132 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/hidecurrentinputdeprecated_fuzzer", 133 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 134 ] 135 136 sources = [ 137 "hidecurrentinputdeprecated_fuzzer/hidecurrentinputdeprecated_fuzzer.cpp", 138 ] 139 140 deps = common_deps 141 142 external_deps = common_external_deps 143} 144 145ohos_fuzztest("ListCurrentInputmethodSubtypeFuzzTest") { 146 module_out_path = "imf/imf" 147 148 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/listcurrentinputmethodsubtype_fuzzer" 149 150 include_dirs = [ 151 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/listcurrentinputmethodsubtype_fuzzer", 152 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 153 ] 154 155 sources = [ "listcurrentinputmethodsubtype_fuzzer/listcurrentinputmethodsubtype_fuzzer.cpp" ] 156 157 deps = common_deps 158 159 external_deps = common_external_deps 160} 161 162ohos_fuzztest("ListInputmethodFuzzTest") { 163 module_out_path = "imf/imf" 164 165 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/listinputmethod_fuzzer" 166 167 include_dirs = [ 168 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/listinputmethod_fuzzer", 169 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 170 ] 171 172 sources = [ "listinputmethod_fuzzer/listinputmethod_fuzzer.cpp" ] 173 174 deps = common_deps 175 176 external_deps = common_external_deps 177} 178 179ohos_fuzztest("ListInputmethodSubtypeFuzzTest") { 180 module_out_path = "imf/imf" 181 182 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/listinputmethodsubtype_fuzzer" 183 184 include_dirs = [ 185 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/listinputmethodsubtype_fuzzer", 186 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 187 ] 188 189 sources = 190 [ "listinputmethodsubtype_fuzzer/listinputmethodsubtype_fuzzer.cpp" ] 191 192 deps = common_deps 193 194 external_deps = common_external_deps 195} 196 197ohos_fuzztest("PanelStatusChangeFuzzTest") { 198 module_out_path = "imf/imf" 199 200 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/panelstatuschange_fuzzer" 201 202 include_dirs = [ 203 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/panelstatuschange_fuzzer", 204 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 205 ] 206 207 sources = [ "panelstatuschange_fuzzer/panelstatuschange_fuzzer.cpp" ] 208 209 deps = common_deps 210 211 external_deps = common_external_deps 212} 213 214ohos_fuzztest("ReleaseInputFuzzTest") { 215 module_out_path = "imf/imf" 216 217 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/releaseinput_fuzzer" 218 219 include_dirs = [ 220 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/releaseinput_fuzzer", 221 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 222 ] 223 224 sources = [ "releaseinput_fuzzer/releaseinput_fuzzer.cpp" ] 225 226 deps = common_deps 227 228 external_deps = common_external_deps 229} 230 231ohos_fuzztest("SetCoreAndAgentFuzzTest") { 232 module_out_path = "imf/imf" 233 234 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/setcoreandagent_fuzzer" 235 236 include_dirs = [ 237 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/setcoreandagent_fuzzer", 238 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 239 ] 240 241 sources = [ "setcoreandagent_fuzzer/setcoreandagent_fuzzer.cpp" ] 242 243 deps = common_deps 244 245 external_deps = common_external_deps 246} 247 248ohos_fuzztest("ShowCurrentInputFuzzTest") { 249 module_out_path = "imf/imf" 250 251 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/showcurrentinput_fuzzer" 252 253 include_dirs = [ 254 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/showcurrentinput_fuzzer", 255 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 256 ] 257 258 sources = [ "showcurrentinput_fuzzer/showcurrentinput_fuzzer.cpp" ] 259 260 deps = common_deps 261 262 external_deps = common_external_deps 263} 264 265ohos_fuzztest("ShowCurrentInputDeprecatedFuzzTest") { 266 module_out_path = "imf/imf" 267 268 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/showcurrentinputdeprecated_fuzzer" 269 270 include_dirs = [ 271 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/showcurrentinputdeprecated_fuzzer", 272 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 273 ] 274 275 sources = [ 276 "showcurrentinputdeprecated_fuzzer/showcurrentinputdeprecated_fuzzer.cpp", 277 ] 278 279 deps = common_deps 280 281 external_deps = common_external_deps 282} 283 284ohos_fuzztest("StartInputFuzzTest") { 285 module_out_path = "imf/imf" 286 287 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/startinput_fuzzer" 288 289 include_dirs = [ 290 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/startinput_fuzzer", 291 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 292 ] 293 294 sources = [ "startinput_fuzzer/startinput_fuzzer.cpp" ] 295 296 deps = common_deps 297 298 external_deps = common_external_deps 299} 300 301ohos_fuzztest("ImsCmdLastFuzzTest") { 302 module_out_path = "imf/imf" 303 304 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/imscmdlast_fuzzer" 305 306 include_dirs = [ 307 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/imscmdlast_fuzzer", 308 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 309 ] 310 311 sources = [ "imscmdlast_fuzzer/imscmdlast_fuzzer.cpp" ] 312 313 deps = common_deps 314 315 external_deps = common_external_deps 316} 317 318ohos_fuzztest("StopInputSessionFuzzTest") { 319 module_out_path = "imf/imf" 320 321 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/stopinputsession_fuzzer" 322 323 include_dirs = [ 324 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/stopinputsession_fuzzer", 325 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 326 ] 327 328 sources = [ "stopinputsession_fuzzer/stopinputsession_fuzzer.cpp" ] 329 330 deps = common_deps 331 332 external_deps = common_external_deps 333} 334 335ohos_fuzztest("UpdateListenEventFlagFuzzTest") { 336 module_out_path = "imf/imf" 337 338 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/updatelisteneventflag_fuzzer" 339 340 include_dirs = [ 341 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/updatelisteneventflag_fuzzer", 342 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 343 ] 344 345 sources = [ "updatelisteneventflag_fuzzer/updatelisteneventflag_fuzzer.cpp" ] 346 347 deps = common_deps 348 349 external_deps = common_external_deps 350} 351 352ohos_fuzztest("SwitchInputMethodFuzzTest") { 353 module_out_path = "imf/imf" 354 355 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/switchinputmethod_fuzzer" 356 357 include_dirs = [ 358 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/switchinputmethod_fuzzer", 359 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 360 ] 361 362 sources = [ "switchinputmethod_fuzzer/switchinputmethod_fuzzer.cpp" ] 363 364 deps = common_deps 365 366 external_deps = common_external_deps 367} 368 369ohos_fuzztest("DisplayOptionalInputMethodFuzzTest") { 370 module_out_path = "imf/imf" 371 372 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/displayoptionalinputmethod_fuzzer" 373 374 include_dirs = [ 375 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/displayoptionalinputmethod_fuzzer", 376 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 377 ] 378 379 sources = [ 380 "displayoptionalinputmethod_fuzzer/displayoptionalinputmethod_fuzzer.cpp", 381 ] 382 383 deps = common_deps 384 385 external_deps = common_external_deps 386} 387 388ohos_fuzztest("ExitCurrentInputTypeFuzzTest") { 389 module_out_path = "imf/imf" 390 391 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/exitcurrentinputtype_fuzzer" 392 393 include_dirs = [ 394 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/exitcurrentinputtype_fuzzer", 395 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 396 ] 397 398 sources = [ "exitcurrentinputtype_fuzzer/exitcurrentinputtype_fuzzer.cpp" ] 399 400 deps = common_deps 401 402 external_deps = common_external_deps 403} 404 405ohos_fuzztest("IsCurrentImeFuzzTest") { 406 module_out_path = "imf/imf" 407 408 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/iscurrentime_fuzzer" 409 410 include_dirs = [ 411 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/iscurrentime_fuzzer", 412 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 413 ] 414 415 sources = [ "iscurrentime_fuzzer/iscurrentime_fuzzer.cpp" ] 416 417 deps = common_deps 418 419 external_deps = common_external_deps 420} 421 422ohos_fuzztest("IsInputTypeSupportedFuzzTest") { 423 module_out_path = "imf/imf" 424 425 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/isinputtypesupported_fuzzer" 426 427 include_dirs = [ 428 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/isinputtypesupported_fuzzer", 429 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 430 ] 431 432 sources = [ "isinputtypesupported_fuzzer/isinputtypesupported_fuzzer.cpp" ] 433 434 deps = common_deps 435 436 external_deps = common_external_deps 437} 438 439ohos_fuzztest("IsPanelShownFuzzTest") { 440 module_out_path = "imf/imf" 441 442 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/ispanelshown_fuzzer" 443 444 include_dirs = [ 445 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/ispanelshown_fuzzer", 446 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 447 ] 448 449 sources = [ "ispanelshown_fuzzer/ispanelshown_fuzzer.cpp" ] 450 451 deps = common_deps 452 453 external_deps = common_external_deps 454} 455 456ohos_fuzztest("UnRegisteredProxyImeFuzzTest") { 457 module_out_path = "imf/imf" 458 459 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/unregisteredproxyime_fuzzer" 460 461 include_dirs = [ 462 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/unregisteredproxyime_fuzzer", 463 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 464 ] 465 466 sources = [ "unregisteredproxyime_fuzzer/unregisteredproxyime_fuzzer.cpp" ] 467 468 deps = common_deps 469 470 external_deps = common_external_deps 471} 472 473ohos_fuzztest("StartInputTypeFuzzTest") { 474 module_out_path = "imf/imf" 475 476 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/startinputtype_fuzzer" 477 478 include_dirs = [ 479 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/startinputtype_fuzzer", 480 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 481 ] 482 483 sources = [ "startinputtype_fuzzer/startinputtype_fuzzer.cpp" ] 484 485 deps = common_deps 486 487 external_deps = common_external_deps 488} 489 490ohos_fuzztest("GetDefaultInputmethodFuzzTest") { 491 module_out_path = "imf/imf" 492 493 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getdefaultinputmethod_fuzzer" 494 495 include_dirs = [ 496 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getdefaultinputmethod_fuzzer", 497 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 498 ] 499 500 sources = [ "getdefaultinputmethod_fuzzer/getdefaultinputmethod_fuzzer.cpp" ] 501 502 deps = common_deps 503 504 external_deps = common_external_deps 505} 506 507ohos_fuzztest("GetInputMethodConfigFuzzTest") { 508 module_out_path = "imf/imf" 509 510 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getinputmethodconfig_fuzzer" 511 512 include_dirs = [ 513 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getinputmethodconfig_fuzzer", 514 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 515 ] 516 517 sources = [ "getinputmethodconfig_fuzzer/getinputmethodconfig_fuzzer.cpp" ] 518 519 deps = common_deps 520 521 external_deps = common_external_deps 522} 523 524ohos_fuzztest("HideInputFuzzTest") { 525 module_out_path = "imf/imf" 526 527 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/hideinput_fuzzer" 528 529 include_dirs = [ 530 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/hideinput_fuzzer", 531 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 532 ] 533 534 sources = [ "hideinput_fuzzer/hideinput_fuzzer.cpp" ] 535 536 deps = common_deps 537 538 external_deps = common_external_deps 539} 540 541ohos_fuzztest("ShowInputFuzzTest") { 542 module_out_path = "imf/imf" 543 544 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/showinput_fuzzer" 545 546 include_dirs = [ 547 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/showinput_fuzzer", 548 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 549 ] 550 551 sources = [ "showinput_fuzzer/showinput_fuzzer.cpp" ] 552 553 deps = common_deps 554 555 external_deps = common_external_deps 556} 557 558ohos_fuzztest("RequestShowInputFuzzTest") { 559 module_out_path = "imf/imf" 560 561 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/requestshowinput_fuzzer" 562 563 include_dirs = [ 564 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/requestshowinput_fuzzer", 565 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 566 ] 567 568 sources = [ "requestshowinput_fuzzer/requestshowinput_fuzzer.cpp" ] 569 570 deps = common_deps 571 572 external_deps = common_external_deps 573} 574 575ohos_fuzztest("RequestHideInputFuzzTest") { 576 module_out_path = "imf/imf" 577 578 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/requesthideinput_fuzzer" 579 580 include_dirs = [ 581 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/requesthideinput_fuzzer", 582 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 583 ] 584 585 sources = [ "requesthideinput_fuzzer/requesthideinput_fuzzer.cpp" ] 586 587 deps = common_deps 588 589 external_deps = common_external_deps 590} 591 592ohos_fuzztest("GetSecurityModeFuzzTest") { 593 module_out_path = "imf/imf" 594 595 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getsecuritymode_fuzzer" 596 597 include_dirs = [ 598 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/getsecuritymode_fuzzer", 599 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 600 ] 601 602 sources = [ "getsecuritymode_fuzzer/getsecuritymode_fuzzer.cpp" ] 603 604 deps = common_deps 605 606 external_deps = common_external_deps 607} 608 609ohos_fuzztest("IsDefaultImeFuzzTest") { 610 module_out_path = "imf/imf" 611 612 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/isdefaultime_fuzzer" 613 614 include_dirs = [ 615 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/isdefaultime_fuzzer", 616 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 617 ] 618 619 sources = [ "isdefaultime_fuzzer/isdefaultime_fuzzer.cpp" ] 620 621 deps = common_deps 622 623 external_deps = common_external_deps 624} 625 626ohos_fuzztest("ConnectSystemCmdFuzzTest") { 627 module_out_path = "imf/imf" 628 629 fuzz_config_file = "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/connectsystemcmd_fuzzer" 630 631 include_dirs = [ 632 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/connectsystemcmd_fuzzer", 633 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common", 634 ] 635 636 sources = [ "connectsystemcmd_fuzzer/connectsystemcmd_fuzzer.cpp" ] 637 638 deps = common_deps 639 640 external_deps = common_external_deps 641} 642