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("//build/config/features.gni") 15import("//build/test.gni") 16import("../../../../config.gni") 17 18group("fuzztest") { 19 testonly = true 20 deps = [] 21 if (webview_battery_manager_enable) { 22 deps += [ 23 "batteryevent_fuzzer:BatteryEventFuzzTest", 24 "batterymgrclient_fuzzer:BatteryMgrClientFuzzTest", 25 "chargingtime_fuzzer:ChargingTimeFuzzTest", 26 "discharging_fuzzer:DisChargingFuzzTest", 27 "getlevel_fuzzer:GetLevelFuzzTest", 28 "ischarging_fuzzer:IsChargingFuzzTest", 29 "receiveevent_fuzzer:ReceiveEventFuzzTest", 30 "stoplisten_fuzzer:StopListenFuzzTest", 31 ] 32 } 33} 34