1# Copyright (c) 2023-2025 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/features.gni") 15import("//build/ohos.gni") 16import("//build/test.gni") 17import("./../../../miscdevice.gni") 18 19group("fuzztest") { 20 testonly = true 21 deps = [] 22 deps += [ 23 "getdelaytimestub_fuzzer:fuzztest", 24 "geteffectinfostub_fuzzer:fuzztest", 25 "getlightliststub_fuzzer:fuzztest", 26 "getvibratorcapacitystub_fuzzer:fuzztest", 27 "getvibratorliststub_fuzzer:fuzztest", 28 "issupporteffectstub_fuzzer:fuzztest", 29 "playpatternstub_fuzzer:fuzztest", 30 "playprimitiveeffectstub_fuzzer:fuzztest", 31 "playvibratoreffectstub_fuzzer:fuzztest", 32 "stopvibratorallstub_fuzzer:fuzztest", 33 "stopvibratorbymodestub_fuzzer:fuzztest", 34 "transferclientremoteobjectstub_fuzzer:fuzztest", 35 "turnoffstub_fuzzer:fuzztest", 36 "turnonstub_fuzzer:fuzztest", 37 "vibratestub_fuzzer:fuzztest", 38 "vibratoronremoterequest_fuzzer:fuzztest", 39 "subscribevibratorpluginfostub_fuzzer:fuzztest", 40 "playpackagebysessionidstub_fuzzer:fuzztest", 41 "stopvibratebysessionidstub_fuzzer:fuzztest", 42 ] 43 44 if (miscdevice_feature_vibrator_custom) { 45 deps += [ "playvibratorcustomstub_fuzzer:fuzztest" ] 46 } 47} 48