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/ohos.gni") 15import("//foundation/distributeddatamgr/datamgr_service/datamgr_service.gni") 16 17######################################################################################### 18group("fuzztest") { 19 testonly = true 20 21 deps = [ "dumphelper_fuzzer:fuzztest" ] 22 23 if (datamgr_service_cloud) { 24 deps += [ "cloudservicestub_fuzzer:fuzztest" ] 25 } 26 27 if (datamgr_service_object) { 28 deps += [ "objectservicestub_fuzzer:fuzztest" ] 29 } 30 31 if (datamgr_service_rdb) { 32 deps += [ 33 "rdbresultsetstub_fuzzer:fuzztest", 34 "rdbservicestub_fuzzer:fuzztest", 35 ] 36 } 37 38 if (datamgr_service_kvdb) { 39 deps += [ "kvdbservicestub_fuzzer:fuzztest" ] 40 } 41 42 if (datamgr_service_data_share) { 43 deps += [ "datashareservicestub_fuzzer:fuzztest" ] 44 } 45 46 if (datamgr_service_udmf) { 47 deps += [ "udmfservice_fuzzer:fuzztest" ] 48 } 49} 50