• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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("../../../services/bundlemgr/appexecfwk_bundlemgr.gni")
15
16group("bundlemanagerfuzztest") {
17  testonly = true
18  deps = []
19
20  deps += [
21    # deps file
22    "bmsabilityinfofromjson_fuzzer:BMSAbilityInfoFromJsonFuzzTest",
23    "bmsabilityinfomarshalling_fuzzer:BMSAbilityInfoMarshallingFuzzTest",
24    "bmsabilityinfounmarshalling_fuzzer:BMSAbilityInfoUnmarshallingFuzzTest",
25    "bmsaccounthelper_fuzzer:BMSAccountHelperFuzzTest",
26    "bmsaddfirstinstallbundleinfo_fuzzer:BMSAddFirstInstallBundleInfoFuzzTest",
27    "bmsaginghandlerchain_fuzzer:BMSAgingHandlerChainFuzzTest",
28    "bmsagingrequest_fuzzer:BMSAgingRequestFuzzTest",
29    "bmsagingutil_fuzzer:BMSAgingUtilFuzzTest",
30    "bmsappcontrolhost_fuzzer:BMSAppControlHostFuzzTest",
31    "bmsapplicationinfo_fuzzer:BMSApplicationInfoFuzzTest",
32    "bmsappservicefwkinstaller_fuzzer:BMSAppServiceFwkInstallerFuzzTest",
33    "bmsappservicefwkinstalleraddappprovisioninfo_fuzzer:BMSAppServiceFwkInstallerAddAppProvisionInfoFuzzTest",
34    "bmsappservicefwkinstallerbeforeinstall_fuzzer:BMSAppServiceFwkInstallerBeforeInstallFuzzTest",
35    "bmsappservicefwkinstallercheckandparsefiles_fuzzer:BMSAppServiceFwkInstallerCheckAndParseFilesFuzzTest",
36    "bmsappservicefwkinstallercheckapplabelinfo_fuzzer:BMSAppServiceFwkInstallerCheckAppLabelInfoFuzzTest",
37    "bmsappservicefwkinstallercheckfiletype_fuzzer:BMSAppServiceFwkInstallerCheckFileTypeFuzzTest",
38    "bmsappservicefwkinstallergetinnerbundleinfo_fuzzer:BMSAppServiceFwkInstallerGetInnerBundleInfoFuzzTest",
39    "bmsappservicefwkinstallerinnerprocessinstall_fuzzer:BMSAppServiceFwkInstallerInnerProcessInstallFuzzTest",
40    "bmsappservicefwkinstallerprocessnativelibrary_fuzzer:BMSAppServiceFwkInstallerProcessNativeLibraryFuzzTest",
41    "bmsbundlecloneinstaller_fuzzer:BmsBundleCloneInstallerFuzzTest",
42    "bmsbundleresourceeventsubscriber_fuzzer:BmsBundleResourceEventSubscriberFuzzTest",
43    "bmsapplicationinfofromjson_fuzzer:BMSApplicationInfoFromJsonFuzzTest",
44    "bmsbundlefileutil_fuzzer:BMSBundleFileUtilFuzzTest",
45    "bmsbundleinfo_fuzzer:BMSBundleInfoFuzzTest",
46    "bmsbundleinstallerhost_fuzzer:BMSBundleInstallerHostFuzzTest",
47    "bmsbundleinstallerproxy_fuzzer:BMSBundleInstallerProxyFuzzTest",
48    "bmsbundlemanagercallback_fuzzer:BMSBundleManagerCallbackFuzzTest",
49    "bmsbundlemanagercallbackproxy_fuzzer:BMSBundleManagerCallbackProxyFuzzTest",
50    "bmsbundlemanagercallbackstub_fuzzer:BMSBundleManagerCallbackStubFuzzTest",
51    "bmsbundlemgrhost_fuzzer:BMSBundleMgrHostFuzzTest",
52    "bmsbundlemgrproxyfuzzpartfourtest_fuzzer:BMSBundleMgrProxyFuzzPartFourTest",
53    "bmsbundlemgrproxyfuzzpartonetest_fuzzer:BMSBundleMgrProxyFuzzPartOneTest",
54    "bmsbundlemgrproxyfuzzpartthreetest_fuzzer:BMSBundleMgrProxyFuzzPartThreeTest",
55    "bmsbundlemgrproxyfuzzparttwotest_fuzzer:BMSBundleMgrProxyFuzzPartTwoTest",
56    "bmsbundlemultiuserinstaller_fuzzer:BMSBundleMultiUserInstallerFuzzTest",
57    "bmsbundleoverlay_fuzzer:BMSBundleOverlayFuzzTest",
58    "bmsbundleresource_fuzzer:BMSBundleResourceFuzzTest",
59    "bmsbundleresourcedrawable_fuzzer:BMSBundleResourceDrawableFuzzTest",
60    "bmsbundleresourcehost_fuzzer:BMSBundleResourceHostFuzzTest",
61    "bmsbundleresourcemanager_fuzzer:BMSBundleResourceManagerFuzzTest",
62    "bmsbundlestatuscallbackproxy_fuzzer:BMSBundleStatusCallbackProxyFuzzTest",
63    "bmsbundlestreaminstallerhost_fuzzer:BMSBundleStreamInstallerHostFuzzTest",
64    "bmsbundlestreaminstallerproxy_fuzzer:BMSBundleStreamInstallerProxyFuzzTest",
65    "bmsbundlesyscap_fuzzer:BMSBundleSysCapFuzzTest",
66    "bmsbundleuserinfo_fuzzer:BMSBundleUserInfoFuzzTest",
67    "bmsbundleusermgrhost_fuzzer:BMSBundleUserMgrHostFuzzTest",
68    "bmsbundleusermgrproxy_fuzzer:BMSBundleUserMgrProxyFuzzTest",
69    "bmscheckencryptionparam_fuzzer:BMSCheckEncryptionParamFuzzTest",
70    "bmscheckissystemappbyuid_fuzzer:BMSCheckIsSystemAppByUidFuzzTest",
71    "bmscleanbundlecachefiles_fuzzer:BMSCleanBundleCacheFilesFuzzTest",
72    "bmscleanbundledatafiles_fuzzer:BMSCleanBundleDataFilesFuzzTest",
73    "bmscleancachecallbackproxy_fuzzer:BMSCleanCacheCallbackProxyFuzzTest",
74    "bmscheckabilityenableinstall_fuzzer:BMSCheckAbilityEnableInstallFuzzTest",
75    "bmscompatibleabilityinfo_fuzzer:BMSCompatibleAbilityInfoFuzzTest",
76    "bmscompatibleapplicationinfo_fuzzer:BMSCompatibleApplicationInfoFuzzTest",
77    "bmsconverttargetabilityinfo_fuzzer:BMSConvertTargetAbilityInfoFuzzTest",
78    "bmsdeletefirstinstallbundleinfo_fuzzer:BMSDeleteFirstInstallBundleInfoFuzzTest",
79    "bmsdriverinstaller_fuzzer:BMSDriverInstallerFuzzTest",
80    "bmsextendresourcemanager_fuzzer:BMSExtendResourceManagerFuzzTest",
81    "bmsextensionabilityinfo_fuzzer:BMSExtensionAbilityInfoFuzzTest",
82    "bmsfirstinstallbundleinfo_fuzzer:BMSFirstInstallBundleInfoFuzzTest",
83    "bmsforminfo_fuzzer:BMSFormInfoFuzzTest",
84    "bmsfreeinstall_fuzzer:BMSFreeInstallFuzzTest001",
85    "bmsfreeinstall_fuzzer:BMSFreeInstallFuzzTest002",
86    "bmsfreeinstall_fuzzer:BMSFreeInstallFuzzTest003",
87    "bmsfreeinstall_fuzzer:BMSFreeInstallFuzzTest004",
88    "bmsgetabilitylabel_fuzzer:BMSGetAbilityLabelFuzzTest",
89    "bmsgetappidbybundlename_fuzzer:BMSGetAppIdByBundleNameFuzzTest",
90    "bmsgetapplicationinfo_fuzzer:BMSGetApplicationInfoFuzzTest",
91    "bmsgetapplicationinfos_fuzzer:BMSGetApplicationInfosFuzzTest",
92    "bmsgetapptype_fuzzer:BMSGetAppTypeFuzzTest",
93    "bmsgetbundlearchiveinfo_fuzzer:BMSGetBundleArchiveInfoFuzzTest",
94    "bmsgetbundlegids_fuzzer:BMSGetBundleGidsFuzzTest",
95    "bmsgetbundlegidsbyuid_fuzzer:BMSGetBundleGidsByUidFuzzTest",
96    "bmsgetbundleinfo_fuzzer:BMSGetBundleInfoFuzzTest",
97    "bmsgetbundleinfos_fuzzer:BMSGetBundleInfosFuzzTest",
98    "bmsgetbundleInfosbymetadata_fuzzer:BMSGetBundleInfosByMetaDataFuzzTest",
99    "bmsgetbundlepackinfo_fuzzer:BMSGetBundlePackInfoFuzzTest",
100    "bmsgetbundlesforuid_fuzzer:BMSGetBundlesForUidFuzzTest",
101    "bmsgetdefaultapplication_fuzzer:BMSGetDefaultApplicationFuzzTest",
102    "bmsgetdisposedstatus_fuzzer:BMSGetDisposedStatusFuzzTest",
103    "bmsgethapmoduleinfo_fuzzer:BMSGetHapModuleInfoFuzzTest",
104    "bmsgetlaunchwantforbundle_fuzzer:BMSGetLaunchWantForBundleFuzzTest",
105    "bmsgetnameforuid_fuzzer:BMSGetNameForUidFuzzTest",
106    "bmsgetpermissiondef_fuzzer:BMSGetPermissionDefFuzzTest",
107    "bmshapmoduleinfo_fuzzer:BMSHapModuleInfoFuzzTest",
108    "bmshmpbundleinstaller_fuzzer:BMSHmpBundleInstallerFuzzTest",
109    "bmsinstalldloadcallback_fuzzer:BMSInstalldLoadCallbackFuzzTest",
110    "bmsinstalldpermissionmgr_fuzzer:BMSInstalldPermissionMgrFuzzTest",
111    "bmsinstalldservice_fuzzer:BMSInstalldServiceFuzzTest",
112    "bmsinstallparam_fuzzer:BMSInstallParamFuzzTest",
113    "bmsinstallpluginparam_fuzzer:BMSInstallPluginParamFuzzTest",
114    "bmsisexistfirstinstallbundleinfo_fuzzer:BMSIsExistFirstInstallBundleInfoFuzzTest",
115    "bmsnavigation_fuzzer:BMSNavigationFuzzTest",
116    "bmsplugininstaller_fuzzer:BMSPluginInstallerFuzzTest",
117    "bmsonqueryrpcidfinished_fuzzer:BMSOnQueryRpcIdFinishedFuzzTest",
118    "bmspreinstallexceptionmgr_fuzzer:BMSPreInstallExceptionMgrFuzzTest",
119    "bmsqueryabilityinfobyuri_fuzzer:BMSQueryAbilityInfoByUriFuzzTest",
120    "bmsqueryabilityinfos_fuzzer:BMSQueryAbilityInfosFuzzTest",
121    "bmsqueryabilityinfosbyuri_fuzzer:BMSQueryAbilityInfosByUriFuzzTest",
122    "bmsqueryallabilityinfos_fuzzer:BMSQueryAllAbilityInfosFuzzTest",
123    "bmsquerykeepalivebundleinfos_fuzzer:BMSQueryKeepAliveBundleInfosFuzzTest",
124    "bmsqueryrpcidbyabilitytoservicecenter_fuzzer:BMSQueryRpcIdByAbilityToServiceCenterFuzzTest",
125    "bmsquickfixchecker_fuzzer:BMSQuickFixCheckerFuzzTest",
126    "bmsquickfixdatamgr_fuzzer:BMSQuickFixDataMgrFuzzTest",
127    "bmsquickfixdeployer_fuzzer:BMSQuickFixDeployerFuzzTest",
128    "bmsbundleresourcehelpersecond_fuzzer:BmsBundleResourceHelperSecondFuzzTest",
129    "bmsremoteabilityinfo_fuzzer:BMSRemoteAbilityInfoFuzzTest",
130    "bmsshortcutvisibledatastoragerdb_fuzzer:BMSShortcutVisibleDataStorageRdbFuzzTest",
131    "bmssendcallback_fuzzer:BMSSendCallbackFuzzTest",
132    "bmsshortcutdatastoragerdb_fuzzer:BMSShortCutDataStorageRdbFuzzTest",
133    "bmsuninstalldatamgr_fuzzer:BMSUninstallDataMgrFuzzTest",
134    "bmsverifymanagerhost_fuzzer:BMSVerifyManagerHostFuzzTest",
135  ]
136
137  if (bundle_framework_default_app) {
138    deps += [
139      "bmsdefaultapp_fuzzer:BMSDefaultAppFuzzTest",
140      "bmsdefaultapphost_fuzzer:BMSDefaultAppHostFuzzTest"
141    ]
142  }
143
144  if (bundle_framework_app_control) {
145    deps += [
146      "bmsaddappInstallcontrolrule_fuzzer:BMSAddAppInstallControlRuleFuzzTest",
147      "bmsaddappjumpcontrolrule_fuzzer:BMSAddAppJumpControlRuleFuzzTest",
148      "bmsaddapprunningcontrolrule_fuzzer:BMSAddAppRunningControlRuleFuzzTest",
149      "bmsapprunningcontrolrule_fuzzer:BMSAppRunningControlRuleFuzzTest",
150      "bmsapprunningcontrolruleresult_fuzzer:BMSAppRunningControlRuleResultFuzzTest",
151      "bmsdeleteappinstallcontrolrule_fuzzer:BMSDeleteAppInstallControlRuleFuzzTest",
152      "bmsdeleteapprunningcontrolrule_fuzzer:BMSDeleteAppRunningControlRuleFuzzTest",
153      "bmsgetappinstallcontrolrule_fuzzer:BMSGetAppInstallControlRuleFuzzTest",
154      "bmsgetapprunningcontrolrule_fuzzer:BMSGetAppRunningControlRuleFuzzTest",
155    ]
156  }
157}