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    "allowedbluetoothdevicesplugin_fuzzer:AllowedBluetoothDevicesPluginFuzzTest",
27    "allowedusbdevicesplugin_fuzzer:AllowedUsbDevicesPluginFuzzTest",
28    "disallowaddosaccountbyuserplugin_fuzzer:DisallowAddOsAccountByUserPluginFuzzTest",
29    "disallowedrunningbundlesplugin_fuzzer:DisallowedRunningBundlesPluginFuzzTest",
30    "edmplugin_fuzzer:EdmPluginFuzzTest",
31    "enterprisedevicemgrability_fuzzer:EnterpriseDeviceMgrAbilityFuzzTest",
32    "enterprisedevicemgrstubmock_fuzzer:EnterpriseDeviceMgrStubMockFuzzTest",
33    "firewallruleplugin_fuzzer:FireWallRulePluginFuzzTest",
34    "getbluetoothinfoplugin_fuzzer:GetBluetoothInfoPluginFuzzTest",
35    "getdeviceinfoplugin_fuzzer:GetDeviceInfoPluginFuzzTest",
36    "installplugin_fuzzer:InstallPluginFuzzTest",
37    "iptablesruleplugin_fuzzer:IptablesRulePluginFuzzTest",
38    "manageautostartappsplugin_fuzzer:ManageAutoStartAppsPluginFuzzTest",
39    "powerpolicyplugin_fuzzer:PowerPolicyPluginFuzzTest",
40    "setbrowserpoliciesplugin_fuzzer:SetBrowserPoliciesPluginFuzzTest",
41    "usbreadonlyplugin_fuzzer:UsbReadOnlyPluginFuzzTest",
42    "usercertplugin_fuzzer:UserCertPluginFuzzTest",
43  ]
44  defines = []
45  if (os_account_edm_enable) {
46    defines += [ "OS_ACCOUNT_EDM_ENABLE" ]
47  }
48  print(defines)
49}
50