• 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.
13
14import("//foundation/appexecfwk/standard/appexecfwk.gni")
15
16config("bundlemgr_fuzztest_config") {
17  include_dirs = [
18    "${appexecfwk_path}/interfaces/innerkits/appexecfwk_base/include",
19    "${appexecfwk_path}/interfaces/innerkits/appexecfwk_core/include/bundlemgr",
20    "//utils/native/base/include",
21    "//utils/system/safwk/native/include",
22    "mock/include",
23    "//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content/",
24    "//foundation/aafwk/standard/interfaces/innerkits/base/include",
25    "//foundation/aafwk/standard/interfaces/innerkits/ability_manager/include",
26    "//foundation/aafwk/standard/services/abilitymgr/include",
27    "//foundation/aafwk/standard/services/common/include",
28    "//base/notification/ces_standard/interfaces/innerkits/native/include",
29    "//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk/main/cpp/include",
30    "//base/security/appverify/interfaces/innerkits/appverify/include",
31  ]
32
33  configs = [
34    "${services_path}/bundlemgr:bundlemgr_common_config",
35    "${common_path}:appexecfwk_common_config",
36  ]
37}
38
39group("fuzztest") {
40  testonly = true
41  deps = []
42
43  deps += [
44    # deps file
45    "AbilityInfoFromJson_fuzzer:AbilityInfoFromJsonFuzzTest",
46    "AbilityInfoMarshalling_fuzzer:AbilityInfoMarshallingFuzzTest",
47    "AbilityInfoUnmarshalling_fuzzer:AbilityInfoUnmarshallingFuzzTest",
48    "ApplicationInfoFromJson_fuzzer:ApplicationInfoFromJsonFuzzTest",
49    "ApplicationInfo_fuzzer:ApplicationInfoFuzzTest",
50    "BundleInfoFromJson_fuzzer:BundleInfoFromJsonFuzzTest",
51    "BundleInfo_fuzzer:BundleInfoFuzzTest",
52    "BundleSysCap_fuzzer:BundleSysCapFuzzTest",
53    "CheckIsSystemAppByUid_fuzzer:CheckIsSystemAppByUidFuzzTest",
54    "CommonEvent_fuzzer:CommonEventFuzzTest",
55    "ElementName_fuzzer:ElementNameFuzzTest",
56    "GetAccessibleAppCodePaths_fuzzer:GetAccessibleAppCodePathsFuzzTest",
57    "GetApplicationInfos_fuzzer:GetApplicationInfosFuzzTest",
58    "GetBundleInfos_fuzzer:GetBundleInfosFuzzTest",
59    "InstallParamUnmarshalling_fuzzer:InstallParamUnmarshallingFuzzTest",
60    "ParseSysCap_fuzzer:ParseSysCapFuzzTest",
61    "Parse_fuzzer:ParseFuzzTest",
62    "ShortcutInfo_fuzzer:ShortcutInfoFuzzTest",
63    "VerifyCallingPermission_fuzzer:VerifyCallingPermissionFuzzTest",
64  ]
65}
66