• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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.
13import("//foundation/filemanagement/storage_service/storage_service_aafwk.gni")
14
15group("storage_service_fuzztest") {
16  testonly = true
17  deps = [
18    # deps file
19    "${storage_service_path}/test/fuzztest/bundlestats_fuzzer:BundleStatsFuzzTest",
20    "${storage_service_path}/test/fuzztest/disk_fuzzer:DiskFuzzTest",
21    "${storage_service_path}/test/fuzztest/filesystemcrypto_fuzzer:FileSystemCryptoFuzzTest",
22    "${storage_service_path}/test/fuzztest/fileutils_fuzzer:FileUtilsFuzzTest",
23    "${storage_service_path}/test/fuzztest/fscryptutils_fuzzer:FscryptUtilsFuzzTest",
24    "${storage_service_path}/test/fuzztest/keycontrol_fuzzer:KeyControlFuzzTest",
25    "${storage_service_path}/test/fuzztest/storagedaemon_fuzzer:StorageDaemonFuzzTest",
26    "${storage_service_path}/test/fuzztest/storagedaemoncreatesharefile_fuzzer:StorageDaemonCreateShareFileFuzzTest",
27    "${storage_service_path}/test/fuzztest/storagedaemondeletesharefile_fuzzer:StorageDaemonDeleteShareFileFuzzTest",
28    "${storage_service_path}/test/fuzztest/storagemanager_fuzzer:StorageManagerFuzzTest",
29    "${storage_service_path}/test/fuzztest/storagemanagerproxy_fuzzer:StorageManagerProxyFuzzTest",
30    "${storage_service_path}/test/fuzztest/storagestats_fuzzer:StorageStatsFuzzTest",
31    "${storage_service_path}/test/fuzztest/storagestatusservice_fuzzer:StorageStatusServiceFuzzTest",
32    "${storage_service_path}/test/fuzztest/stringutils_fuzzer:StringUtilsFuzzTest",
33    "${storage_service_path}/test/fuzztest/sysparamdynamic_fuzzer:SysparamDynamicFuzzTest",
34    "${storage_service_path}/test/fuzztest/sysparamstatic_fuzzer:SysparamStaticFuzzTest",
35    "${storage_service_path}/test/fuzztest/volumecore_fuzzer:VolumeCoreFuzzTest",
36    "${storage_service_path}/test/fuzztest/volumeexternal_fuzzer:VolumeExternalFuzzTest",
37  ]
38  if (support_open_source_libmtp &&
39      storage_service_external_storage_qos_trans) {
40    deps +=
41        [ "${storage_service_path}/test/fuzztest/libmtp_fuzzer:LibmtpFuzzTest" ]
42  }
43}
44