1# Copyright (c) 2022-2024 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("../../common/config/common.gni") 15 16group("fuzztest") { 17 testonly = true 18 deps = [] 19 20 deps += [ 21 # deps file 22 "addosaccountplugin_fuzzer:AddOsAccountPluginFuzzTest", 23 "adminmanager_fuzzer:AdminManagerFuzzTest", 24 "adminpoliciesstoragerdb_fuzzer:AdminPoliciesStorageRdbFuzzTest", 25 "adminserviceinterface_fuzzer:AdminServiceInterfaceFuzzTest", 26 "allowedappdistributiontypesplugin_fuzzer:AllowedAppDistributionTypesPluginFuzzTest", 27 "allowedbluetoothdevicesplugin_fuzzer:AllowedBluetoothDevicesPluginFuzzTest", 28 "allowedusbdevicesplugin_fuzzer:AllowedUsbDevicesPluginFuzzTest", 29 "allowedwifilistplugin_fuzzer:AllowedWifiListPluginFuzzTest", 30 "bundleinstallplugin_fuzzer:BundleInstallPluginFuzzTest", 31 "clearupapplicationdataplugin_fuzzer:ClearUpApplicationDataPluginFuzzTest", 32 "disablednetworkinterfaceplugin_fuzzer:DisabledNetworkInterfacePluginFuzzTest", 33 "disableusbplugin_fuzzer:DisableUsbPluginFuzzTest", 34 "disallowaddosaccountbyuserplugin_fuzzer:DisallowAddOsAccountByUserPluginFuzzTest", 35 "disallowedbluetoothdevicesplugin_fuzzer:DisallowedBluetoothDevicesPluginFuzzTest", 36 "disallowedrunningbundlesplugin_fuzzer:DisallowedRunningBundlesPluginFuzzTest", 37 "disallowedairplanemodeplugin_fuzzer:DisallowedAirplaneModePluginFuzzTest", 38 "disallowvpnplugin_fuzzer:DisallowVpnPluginFuzzTest", 39 "disallowedwifilistplugin_fuzzer:DisallowedWifiListPluginFuzzTest", 40 "edmplugin_fuzzer:EdmPluginFuzzTest", 41 "disallowednearlinkprotocolsplugin_fuzzer:DisallowedNearlinkProtocolsPluginFuzzTest", 42 "enterprisedevicemgrability_fuzzer:EnterpriseDeviceMgrAbilityFuzzTest", 43 "enterprisedevicemgrstubmock_fuzzer:EnterpriseDeviceMgrStubMockFuzzTest", 44 "firewallruleplugin_fuzzer:FireWallRulePluginFuzzTest", 45 "getbluetoothinfoplugin_fuzzer:GetBluetoothInfoPluginFuzzTest", 46 "getdeviceinfoplugin_fuzzer:GetDeviceInfoPluginFuzzTest", 47 "globalproxyplugin_fuzzer:GlobalProxyPluginFuzzTest", 48 "installplugin_fuzzer:InstallPluginFuzzTest", 49 "iptablesruleplugin_fuzzer:IptablesRulePluginFuzzTest", 50 "kioskfeatureplugin_fuzzer:KioskFeaturePluginFuzzTest", 51 "locationpolicyplugin_fuzzer:LocationPolicyPluginFuzzTest", 52 "manageautostartappsplugin_fuzzer:ManageAutoStartAppsPluginFuzzTest", 53 "powerpolicyplugin_fuzzer:PowerPolicyPluginFuzzTest", 54 "setbrowserpoliciesplugin_fuzzer:SetBrowserPoliciesPluginFuzzTest", 55 "usbreadonlyplugin_fuzzer:UsbReadOnlyPluginFuzzTest", 56 "disableusermtpclientplugin_fuzzer:DisableUserMtpClientPluginFuzzTest", 57 "usercertplugin_fuzzer:UserCertPluginFuzzTest", 58 "managekeepaliveappsplugin_fuzzer:ManageKeepAliveAppsPluginFuzzTest", 59 ] 60 61 if (!enterprise_device_management_feature_pc_only) { 62 deps += [ 63 "disallowedsimplugin_fuzzer:DisallowedSimPluginFuzzTest", 64 "disallowmobiledataplugin_fuzzer:DisallowMobileDataPluginFuzzTest", 65 "disallowpowerlongpressplugin_fuzzer:DisallowPowerLongPressPluginFuzzTest", 66 "setapnplugin_fuzzer:SetApnPluginFuzzTest", 67 "turnonoffmobiledataplugin_fuzzer:TurnOnOffMobileDataPluginFuzzTest", 68 "telephonycallpolicyplugin_fuzzer:TelephonyCallPolicyPluginFuzzTest", 69 ] 70 } 71 72 if (enterprise_device_management_feature_pc_only) { 73 deps += [ 74 "disallowedusbstoragedevicewriteplugin_fuzzer:DisallowedUsbStorageDeviceWritePluginFuzzTest", 75 "installlocalenterpriseappenabledplugin_fuzzer:InstallLocalEnterpriseAppEnabledPluginFuzzTest", 76 ] 77 } 78 79 defines = [] 80 if (os_account_edm_enable) { 81 defines += [ "OS_ACCOUNT_EDM_ENABLE" ] 82 } 83 print(defines) 84} 85